public class LocalAgentDefinitionImpl extends PipelineDefinitionImpl implements LocalAgentDefinition
name
ORDERING
Constructor and Description |
---|
LocalAgentDefinitionImpl() |
LocalAgentDefinitionImpl(long id,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PipelineDefinitionVisitor visitor)
Call back method to perform different actions depending on what type of agent it is
|
LocalAgentDefinition |
clone() |
CapabilitySet |
getCapabilitySet() |
AgentType |
getType()
Gets type of the agent
|
void |
setCapabilitySet(CapabilitySet capabilitySet) |
compareTo, equals, getDescription, getName, hashCode, isEnabled, setDescription, setEnabled, setName
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCreationDate, getDescription, getLastModificationDate, getName, isEnabled, setCreationDate, setDescription, setEnabled, setLastModificationDate, setName
setId
getId
compareTo
public LocalAgentDefinitionImpl()
public LocalAgentDefinitionImpl(long id, String name)
public void accept(PipelineDefinitionVisitor visitor)
PipelineDefinition
accept
in interface PipelineDefinition
visitor
- Visitor objectpublic CapabilitySet getCapabilitySet()
getCapabilitySet
in interface CapabilityProperties
public void setCapabilitySet(CapabilitySet capabilitySet)
setCapabilitySet
in interface CapabilityProperties
public LocalAgentDefinition clone() throws CloneNotSupportedException
clone
in class com.atlassian.core.bean.EntityObject
CloneNotSupportedException
@NotNull public AgentType getType()
PipelineDefinition
getType
in interface PipelineDefinition
getType
in class PipelineDefinitionImpl
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.