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