com.atlassian.bamboo.v2.build.agent
Class PipelineDefinitionImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
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
Field Summary |
protected java.lang.String |
name
|
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 |
name
protected java.lang.String name
PipelineDefinitionImpl
public PipelineDefinitionImpl()
PipelineDefinitionImpl
public PipelineDefinitionImpl(long id,
java.lang.String name)
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.