Package org.opennms.netmgt.collectd.wmi
Class WmiGroupState
- java.lang.Object
-
- org.opennms.netmgt.collectd.wmi.WmiGroupState
-
public class WmiGroupState extends java.lang.Object
WmiGroupState 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.Date
getLastChecked()
Getter for the fieldlastChecked
.boolean
isAvailable()
isAvailablevoid
setAvailable(boolean available)
Setter for the fieldavailable
.void
setLastChecked(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
- aDate
object.
-
-
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
Date
object.
-
setLastChecked
public void setLastChecked(java.util.Date lastChecked)
Setter for the field
lastChecked
.- Parameters:
lastChecked
- aDate
object.
-
-