com.atlassian.bamboo.v2.build.agent
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, BambooObject, java.lang.Cloneable, java.lang.Comparable
public abstract class AgentWithCapabilitiesDefinitionImpl
- extends PipelineDefinitionImpl
- implements AgentWithCapabilitiesDefinition
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.buildqueue.PipelineDefinition |
accept, getCreationDate, getDescription, getLastModificationDate, getName, getType, isEnabled, setCreationDate, setDescription, setEnabled, setLastModificationDate, setName |
Methods inherited from interface java.lang.Comparable |
compareTo |
AgentWithCapabilitiesDefinitionImpl
protected AgentWithCapabilitiesDefinitionImpl()
AgentWithCapabilitiesDefinitionImpl
protected AgentWithCapabilitiesDefinitionImpl(long id,
java.lang.String name)
getCapabilitySet
@Nullable
public CapabilitySet 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 interface AgentWithCapabilitiesDefinition
- Returns:
- capablity set stored against this agent.
getAgentCapabilitySet
@NotNull
public CapabilitySet getAgentCapabilitySet()
- Specified by:
getAgentCapabilitySet
in interface AgentWithCapabilitiesDefinition
newCapabilitySet
protected abstract CapabilitySet newCapabilitySet()
setCapabilitySet
public void setCapabilitySet(CapabilitySet capabilitySet)
- Specified by:
setCapabilitySet
in interface AgentWithCapabilitiesDefinition
Copyright © 2011 Atlassian. All Rights Reserved.