Class ImageCapabilitySetImpl
- 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.ImageCapabilitySetImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,CapabilitySet
,ImageCapabilitySet
,ReadOnlyCapabilitySet
,Serializable
,Cloneable
public class ImageCapabilitySetImpl extends CapabilitySetImpl implements ImageCapabilitySet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.capability.ImageCapabilitySet
SET_TYPE
-
-
Constructor Summary
Constructors Constructor Description ImageCapabilitySetImpl()
ImageCapabilitySetImpl(CapabilityScope capabilityScope)
ImageCapabilitySetImpl(CapabilityScope capabilityScope, Capability... capabilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCapabilitySetType()
Returns the identifier describing the type of this capability.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
-
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.capability.CapabilitySet
addCapability, addCapability, getCapabilityScope, removeCapability, setCapabilities
-
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.capability.ReadOnlyCapabilitySet
getCapabilities, getCapability
-
-
-
-
Constructor Detail
-
ImageCapabilitySetImpl
public ImageCapabilitySetImpl()
-
ImageCapabilitySetImpl
public ImageCapabilitySetImpl(CapabilityScope capabilityScope)
-
ImageCapabilitySetImpl
public ImageCapabilitySetImpl(CapabilityScope capabilityScope, Capability... capabilities)
-
-
Method Detail
-
getSharedCapabilitySetType
public 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"
-
-