Package org.opennms.netmgt.collectd.wmi
Class WmiGroupState
- java.lang.Object
-
- org.opennms.netmgt.collectd.wmi.WmiGroupState
-
public class WmiGroupState extends java.lang.ObjectWmiGroupState class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description WmiGroupState(boolean isAvailable)Constructor for WmiGroupState.WmiGroupState(boolean isAvailable, java.util.Date lastChecked)Constructor for WmiGroupState.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetLastChecked()Getter for the fieldlastChecked.booleanisAvailable()isAvailablevoidsetAvailable(boolean available)Setter for the fieldavailable.voidsetLastChecked(java.util.Date lastChecked)Setter for the fieldlastChecked.
-
-
-
Constructor Detail
-
WmiGroupState
public WmiGroupState(boolean isAvailable)
Constructor for WmiGroupState.
- Parameters:
isAvailable- a boolean.
-
WmiGroupState
public WmiGroupState(boolean isAvailable, java.util.Date lastChecked)Constructor for WmiGroupState.
- Parameters:
isAvailable- a boolean.lastChecked- aDateobject.
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
isAvailable
- Returns:
- a boolean.
-
setAvailable
public void setAvailable(boolean available)
Setter for the field
available.- Parameters:
available- a boolean.
-
getLastChecked
public java.util.Date getLastChecked()
Getter for the field
lastChecked.- Returns:
- a
Dateobject.
-
setLastChecked
public void setLastChecked(java.util.Date lastChecked)
Setter for the field
lastChecked.- Parameters:
lastChecked- aDateobject.
-
-