public class DefaultCapabilityState extends Object implements CapabilityState
CapabilityState.| Constructor and Description |
|---|
DefaultCapabilityState(Client client,
String capabilityListItem)
Constructs a capability state.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Client |
getClient()
Gets the Client to which this belongs.
|
long |
getCreationTime()
Gets the time this snapshot was created.
|
String |
getName()
Gets the name of the capability.
|
Optional<String> |
getValue()
Gets the value of the capability.
|
int |
hashCode() |
boolean |
isDisabled()
Gets if the state of the capability is disabled.
|
String |
toString() |
public boolean isDisabled()
CapabilityStateisDisabled in interface CapabilityState@Nonnull public Client getClient()
ClientLinkedgetClient in interface ClientLinkedpublic long getCreationTime()
SnapshotgetCreationTime in interface SnapshotSystem.currentTimeMillis()@Nonnull public String getName()
CapabilityStategetName in interface CapabilityState@Nonnull public Optional<String> getValue()
CapabilityStategetValue in interface CapabilityStateCopyright © 2013–2019 Kitteh. All rights reserved.