com.atlassian.bamboo.v2.build.agent
Class LocalAgentDefinitionImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
              extended by com.atlassian.bamboo.v2.build.agent.LocalAgentDefinitionImpl
All Implemented Interfaces:
LocalAgentDefinition, PipelineDefinition, CapabilityProperties, BambooObject, java.lang.Cloneable, java.lang.Comparable

public class LocalAgentDefinitionImpl
extends PipelineDefinitionImpl
implements LocalAgentDefinition


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.PipelineDefinition
PipelineDefinition.TYPE
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
name
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
LocalAgentDefinitionImpl()
           
LocalAgentDefinitionImpl(long id, java.lang.String name)
           
 
Method Summary
 void accept(PipelineDefinitionVisitor visitor)
          Call back method to perform different actions depending on what type of agent it is
 LocalAgentDefinition clone()
           
 CapabilitySet getCapabilitySet()
           
 void setCapabilitySet(CapabilitySet capabilitySet)
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
compareTo, equals, getDescription, getName, getType, hashCode, isEnabled, setDescription, setEnabled, setName
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
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
getCreationDate, getDescription, getLastModificationDate, getName, getType, isEnabled, setCreationDate, setDescription, setEnabled, setLastModificationDate, setName
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

LocalAgentDefinitionImpl

public LocalAgentDefinitionImpl()

LocalAgentDefinitionImpl

public LocalAgentDefinitionImpl(long id,
                                java.lang.String name)
Method Detail

accept

public void accept(PipelineDefinitionVisitor visitor)
Description copied from interface: PipelineDefinition
Call back method to perform different actions depending on what type of agent it is

Specified by:
accept in interface PipelineDefinition
Parameters:
visitor - Visitor object

getCapabilitySet

public CapabilitySet getCapabilitySet()
Specified by:
getCapabilitySet in interface CapabilityProperties

setCapabilitySet

public void setCapabilitySet(CapabilitySet capabilitySet)
Specified by:
setCapabilitySet in interface CapabilityProperties

clone

public LocalAgentDefinition clone()
                           throws java.lang.CloneNotSupportedException
Overrides:
clone in class com.atlassian.core.bean.EntityObject
Throws:
java.lang.CloneNotSupportedException


Copyright © 2011 Atlassian. All Rights Reserved.