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()
CapabilityState
isDisabled
in interface CapabilityState
@Nonnull public Client getClient()
ClientLinked
getClient
in interface ClientLinked
public long getCreationTime()
Snapshot
getCreationTime
in interface Snapshot
System.currentTimeMillis()
@Nonnull public String getName()
CapabilityState
getName
in interface CapabilityState
@Nonnull public Optional<String> getValue()
CapabilityState
getValue
in interface CapabilityState
Copyright © 2013–2019 Kitteh. All rights reserved.