Class RemoteCapabilitySet
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetImpl
-
- com.atlassian.bamboo.v2.build.agent.capability.RemoteCapabilitySet
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,CapabilitySet
,ReadOnlyCapabilitySet
,Serializable
,Cloneable
public final class RemoteCapabilitySet extends CapabilitySetImpl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteCapabilitySet()
RemoteCapabilitySet(CapabilityScope capabilityScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCapabilitySetType()
Returns the identifier describing the type of this capability.@Nullable String
getSharedCapabilitySetType()
Returns the identifier for the set if it is shared.-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetImpl
addCapability, addCapability, compareTo, equals, getCapabilities, getCapability, getCapabilityScope, hashCode, removeCapability, setCapabilities, setCapabilityScope, toString
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Field Detail
-
SET_TYPE
public static final String SET_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RemoteCapabilitySet
public RemoteCapabilitySet()
-
RemoteCapabilitySet
public RemoteCapabilitySet(CapabilityScope capabilityScope)
-
-
Method Detail
-
getSharedCapabilitySetType
@Nullable public @Nullable String getSharedCapabilitySetType()
Description copied from interface:CapabilitySet
Returns the identifier for the set if it is shared. Pretty used exclusively in the UI.- Specified by:
getSharedCapabilitySetType
in interfaceCapabilitySet
- Overrides:
getSharedCapabilitySetType
in classCapabilitySetImpl
- Returns:
- "Local", "Remote" or null it not a shared capability type;
-
getCapabilitySetType
public String getCapabilitySetType()
Description copied from interface:CapabilitySet
Returns the identifier describing the type of this capability.- Specified by:
getCapabilitySetType
in interfaceCapabilitySet
- Overrides:
getCapabilitySetType
in classCapabilitySetImpl
- Returns:
- "Local", "Remote" or "Image"
-
-