public class CapabilityState
extends java.lang.Object
Capability
.
The state of a capability is valid at a particular point in time. If a particular capability is enabled at time T, there is no guarantee as to if it will be available at time T+1. When a maintenance period is scheduled, there will be usually advance notice as to when the capability is disabled.
Modifier and Type | Method and Description |
---|---|
Capability |
getCapability()
Returns the capability associated with this
CapabilityState . |
java.util.Date |
getScheduledDate()
Returns the schedule date of maintenance for this activity.
|
CapabilityStatus |
getStatus()
Returns the status of the capability.
|
public Capability getCapability()
CapabilityState
.CapabilityState
.public CapabilityStatus getStatus()
public java.util.Date getScheduledDate()
Date
instance if and only if the status is
SCHEDULED_MAINTENANCE.null
if no maintenance is planned.