Class AgentWithCapabilitiesDefinitionImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
com.atlassian.bamboo.v2.build.agent.AgentWithCapabilitiesDefinitionImpl
- All Implemented Interfaces:
AgentWithCapabilitiesDefinition,PipelineDefinition,BambooIdProvider,BambooObject,CreationDateProvider,Cloneable,Comparable<PipelineDefinition>
public abstract class AgentWithCapabilitiesDefinitionImpl
extends PipelineDefinitionImpl
implements AgentWithCapabilitiesDefinition
-
Field Summary
Fields inherited from class com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
nameFields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAgentWithCapabilitiesDefinitionImpl(long id, String name) -
Method Summary
Modifier and TypeMethodDescription@NotNull CapabilitySet@Nullable CapabilitySetWill only return what is stored in the database against this agent.protected abstract CapabilitySetvoidsetCapabilitySet(CapabilitySet capabilitySet) Methods inherited from class com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
compareTo, equals, getDescription, getEphemeralAgentDedication, getEphemeralAgentDedicationUntyped, getName, getType, hashCode, isDedicated, isEnabled, setDescription, setEnabled, setEphemeralAgentDedication, setEphemeralAgentDedicationUntyped, setNameMethods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.bamboo.buildqueue.PipelineDefinition
accept, getCreationDate, getDescription, getEphemeralAgentDedication, getEphemeralAgentDedicationUntyped, getLastModificationDate, getName, getType, isDedicated, isEnabled, setCreationDate, setDescription, setEnabled, setEphemeralAgentDedication, setEphemeralAgentDedicationUntyped, setLastModificationDate, setName
-
Constructor Details
-
AgentWithCapabilitiesDefinitionImpl
protected AgentWithCapabilitiesDefinitionImpl() -
AgentWithCapabilitiesDefinitionImpl
-
-
Method Details
-
getCapabilitySet
Will only return what is stored in the database against this agent. This is not necessarily the complete capability set for the Pipeline. Use {#getAgentCapabilitySet} instead- Specified by:
getCapabilitySetin interfaceAgentWithCapabilitiesDefinition- Returns:
- capability set stored against this agent.
-
getAgentCapabilitySet
- Specified by:
getAgentCapabilitySetin interfaceAgentWithCapabilitiesDefinition
-
newCapabilitySet
-
setCapabilitySet
- Specified by:
setCapabilitySetin interfaceAgentWithCapabilitiesDefinition
-