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

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
All Implemented Interfaces:
PipelineDefinition, BambooObject, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
AgentWithCapabilitiesDefinitionImpl, ElasticAgentDefinitionImpl, LocalAgentDefinitionImpl, RemoteAgentDefinitionImpl

public abstract class PipelineDefinitionImpl
extends BambooEntityObject
implements PipelineDefinition


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.PipelineDefinition
PipelineDefinition.TYPE
 
Field Summary
protected  java.lang.String name
           
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
PipelineDefinitionImpl()
           
PipelineDefinitionImpl(long id, java.lang.String name)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 PipelineDefinition.TYPE getType()
          Gets type of the agent
 int hashCode()
           
 boolean isEnabled()
           
 void setDescription(java.lang.String description)
           
 void setEnabled(boolean enabled)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
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, getLastModificationDate, setCreationDate, setLastModificationDate
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Field Detail

name

protected java.lang.String name
Constructor Detail

PipelineDefinitionImpl

public PipelineDefinitionImpl()

PipelineDefinitionImpl

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

getName

public java.lang.String getName()
Specified by:
getName in interface PipelineDefinition

setName

public void setName(java.lang.String name)
Specified by:
setName in interface PipelineDefinition

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface PipelineDefinition

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface PipelineDefinition

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface PipelineDefinition

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface PipelineDefinition

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class com.atlassian.core.bean.EntityObject

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

hashCode

public int hashCode()
Overrides:
hashCode in class com.atlassian.core.bean.EntityObject

getType

public final PipelineDefinition.TYPE getType()
Description copied from interface: PipelineDefinition
Gets type of the agent

Specified by:
getType in interface PipelineDefinition
Returns:
Type of the agent


Copyright © 2011 Atlassian. All Rights Reserved.