Class EphemeralAgentTemplateCapabilitySetImpl
- 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.EphemeralAgentTemplateCapabilitySetImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,CapabilitySet
,EphemeralAgentTemplateCapabilitySet
,ReadOnlyCapabilitySet
,Serializable
,Cloneable
public class EphemeralAgentTemplateCapabilitySetImpl extends CapabilitySetImpl implements EphemeralAgentTemplateCapabilitySet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.capability.EphemeralAgentTemplateCapabilitySet
SET_TYPE
-
-
Constructor Summary
Constructors Constructor Description EphemeralAgentTemplateCapabilitySetImpl()
EphemeralAgentTemplateCapabilitySetImpl(CapabilityScope capabilityScope)
EphemeralAgentTemplateCapabilitySetImpl(CapabilityScope capabilityScope, Capability... capabilities)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EphemeralAgentTemplateCapabilitySet
copy(EphemeralAgentTemplateCapabilitySet capabilitySet)
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
-
EphemeralAgentTemplateCapabilitySetImpl
public EphemeralAgentTemplateCapabilitySetImpl()
-
EphemeralAgentTemplateCapabilitySetImpl
public EphemeralAgentTemplateCapabilitySetImpl(CapabilityScope capabilityScope)
-
EphemeralAgentTemplateCapabilitySetImpl
public EphemeralAgentTemplateCapabilitySetImpl(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"
-
copy
public static EphemeralAgentTemplateCapabilitySet copy(EphemeralAgentTemplateCapabilitySet capabilitySet)
-
-