Class LocalAgentDefinitionImpl
- 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.LocalAgentDefinitionImpl
-
- All Implemented Interfaces:
LocalAgentDefinition,PipelineDefinition,CapabilityProperties,BambooIdProvider,BambooObject,CreationDateProvider,Serializable,Cloneable,Comparable<PipelineDefinition>
public class LocalAgentDefinitionImpl extends PipelineDefinitionImpl implements LocalAgentDefinition
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description LocalAgentDefinitionImpl()LocalAgentDefinitionImpl(long id, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PipelineDefinitionVisitor visitor)Call back method to perform different actions depending on what type of agent it isLocalAgentDefinitionclone()CapabilitySetgetCapabilitySet()@NotNull AgentTypegetType()Gets type of the agentvoidsetCapabilitySet(CapabilitySet capabilitySet)-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
compareTo, equals, getDescription, getEphemeralAgentDedication, getEphemeralAgentDedicationUntyped, getName, hashCode, isDedicated, isEnabled, setDescription, setEnabled, setEphemeralAgentDedication, setEphemeralAgentDedicationUntyped, setName
-
Methods inherited from class com.atlassian.core.bean.EntityObject
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
getCreationDate, getDescription, getEphemeralAgentDedication, getEphemeralAgentDedicationUntyped, getLastModificationDate, getName, isDedicated, isEnabled, setCreationDate, setDescription, setEnabled, setEphemeralAgentDedication, setEphemeralAgentDedicationUntyped, setLastModificationDate, setName
-
-
-
-
Constructor Detail
-
LocalAgentDefinitionImpl
public LocalAgentDefinitionImpl()
-
LocalAgentDefinitionImpl
public LocalAgentDefinitionImpl(long id, String name)
-
-
Method Detail
-
accept
public void accept(PipelineDefinitionVisitor visitor)
Description copied from interface:PipelineDefinitionCall back method to perform different actions depending on what type of agent it is- Specified by:
acceptin interfacePipelineDefinition- Parameters:
visitor- Visitor object
-
getCapabilitySet
public CapabilitySet getCapabilitySet()
- Specified by:
getCapabilitySetin interfaceCapabilityProperties
-
setCapabilitySet
public void setCapabilitySet(CapabilitySet capabilitySet)
- Specified by:
setCapabilitySetin interfaceCapabilityProperties
-
clone
public LocalAgentDefinition clone() throws CloneNotSupportedException
- Overrides:
clonein classcom.atlassian.core.bean.EntityObject- Throws:
CloneNotSupportedException
-
getType
@NotNull public @NotNull AgentType getType()
Description copied from interface:PipelineDefinitionGets type of the agent- Specified by:
getTypein interfacePipelineDefinition- Specified by:
getTypein classPipelineDefinitionImpl- Returns:
- Type of the agent
-
-