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
name
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
AgentWithCapabilitiesDefinitionImpl
(long id, String name) -
Method Summary
Modifier and TypeMethodDescription@NotNull CapabilitySet
@Nullable CapabilitySet
Will only return what is stored in the database against this agent.protected abstract CapabilitySet
void
setCapabilitySet
(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, setName
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, toString, 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 java.lang.Comparable
compareTo
Methods 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:
getCapabilitySet
in interfaceAgentWithCapabilitiesDefinition
- Returns:
- capability set stored against this agent.
-
getAgentCapabilitySet
- Specified by:
getAgentCapabilitySet
in interfaceAgentWithCapabilitiesDefinition
-
newCapabilitySet
-
setCapabilitySet
- Specified by:
setCapabilitySet
in interfaceAgentWithCapabilitiesDefinition
-