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, BambooIdProvider, BambooObject, CreationDateProvider, Cloneable, Comparable
- Direct Known Subclasses:
- AgentWithCapabilitiesDefinitionImpl, ElasticAgentDefinitionImpl, LocalAgentDefinitionImpl, RemoteAgentDefinitionImpl
public abstract class PipelineDefinitionImpl
- extends BambooEntityObject
- implements PipelineDefinition
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
name
protected String name
PipelineDefinitionImpl
public PipelineDefinitionImpl()
PipelineDefinitionImpl
public PipelineDefinitionImpl(long id,
String name)
getName
public String getName()
- Specified by:
getName
in interface PipelineDefinition
setName
public void setName(String name)
- Specified by:
setName
in interface PipelineDefinition
getDescription
public String getDescription()
- Specified by:
getDescription
in interface PipelineDefinition
setDescription
public void setDescription(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(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(Object obj)
- Specified by:
compareTo
in interface 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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.