Method Summary
All Methods Instance Methods Abstract Methods
void
Add a capability to the set.
void
The scope of the capability set.
Returns the identifier describing the type of this capability.
Returns the identifier for the set if it is shared.
void
Remove a capability from the set, by the key.
void
Method Details
addCapability
void addCapability (@NotNull
@NotNull Capability capability)
Add a capability to the set. Will overwrite any existing capability key
Parameters:
capability
-
addCapability
void addCapability (@NotNull
@NotNull Capability capability,
boolean overwrite)
Adds a capability. If overwrite is false the new value will be rejected
Parameters:
capability
-
overwrite
-
removeCapability
void removeCapability (@NotNull
@NotNull String key)
Remove a capability from the set, by the key.
Parameters:
key
-
getSharedCapabilitySetType
@Nullable
@Nullable String getSharedCapabilitySetType ()
Returns the identifier for the set if it is shared. Pretty used exclusively in the UI.
Returns:
"Local", "Remote" or null it not a shared capability type;
getCapabilitySetType
@Nullable
@Nullable String getCapabilitySetType ()
Returns the identifier describing the type of this capability.
Returns:
"Local", "Remote" or "Image"