com.atlassian.bamboo.buildqueue
Interface PipelineDefinition
- All Superinterfaces:
- BambooObject, java.lang.Cloneable, java.lang.Comparable
- All Known Subinterfaces:
- AgentWithCapabilitiesDefinition, ElasticAgentDefinition, LocalAgentDefinition, RemoteAgentDefinition
- All Known Implementing Classes:
- AgentWithCapabilitiesDefinitionImpl, ElasticAgentDefinitionImpl, LocalAgentDefinitionImpl, PipelineDefinitionImpl, RemoteAgentDefinitionImpl
public interface PipelineDefinition
- extends BambooObject, java.lang.Comparable, java.lang.Cloneable
Methods inherited from interface java.lang.Comparable |
compareTo |
getName
java.lang.String getName()
setName
void setName(java.lang.String name)
getDescription
java.lang.String getDescription()
getCreationDate
java.util.Date getCreationDate()
setCreationDate
void setCreationDate(java.util.Date date)
getLastModificationDate
java.util.Date getLastModificationDate()
setLastModificationDate
void setLastModificationDate(java.util.Date date)
accept
void accept(PipelineDefinitionVisitor visitor)
- Call back method to perform different actions depending on what type of agent it is
- Parameters:
visitor
- Visitor object
setDescription
void setDescription(java.lang.String description)
isEnabled
boolean isEnabled()
setEnabled
void setEnabled(boolean enabled)
getType
PipelineDefinition.TYPE getType()
- Deprecated. Only for FreemarkerTemplates. Instead use
PipelineDefinitionVisitor
and accept(PipelineDefinitionVisitor)
- Gets type of the agent
- Returns:
- Type of the agent
Copyright © 2010 Atlassian. All Rights Reserved.