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


Nested Class Summary
static class PipelineDefinition.TYPE
           
 
Method Summary
 void accept(PipelineDefinitionVisitor visitor)
          Call back method to perform different actions depending on what type of agent it is
 java.util.Date getCreationDate()
           
 java.lang.String getDescription()
           
 java.util.Date getLastModificationDate()
           
 java.lang.String getName()
           
 PipelineDefinition.TYPE getType()
          Deprecated. Only for FreemarkerTemplates. Instead use PipelineDefinitionVisitor and accept(PipelineDefinitionVisitor)
 boolean isEnabled()
           
 void setCreationDate(java.util.Date date)
           
 void setDescription(java.lang.String description)
           
 void setEnabled(boolean enabled)
           
 void setLastModificationDate(java.util.Date date)
           
 void setName(java.lang.String name)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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 © 2009 Atlassian Pty Ltd. All Rights Reserved.