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, BambooIdProvider, 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)
          This method needs to be here in order to use proper id
 java.lang.String getDescription()
           
 java.lang.String getName()
           
abstract  AgentType getType()
          Gets type of the agent
 int hashCode()
          This method needs to be here in order to use proper id
 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
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

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)
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
equals in class BambooEntityObject

compareTo

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

hashCode

public int hashCode()
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
hashCode in class BambooEntityObject

getType

@NotNull
public abstract AgentType getType()
Description copied from interface: PipelineDefinition
Gets type of the agent

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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.