com.atlassian.bamboo.v2.build
Interface BuildPlanDefinition

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
BuildDefinition
All Known Implementing Classes:
BuildObjectForTests, DefaultBuildDefinition, TestBuildObjectForTests

public interface BuildPlanDefinition
extends java.io.Serializable

This interface encapsulates all information required to execute a particular build plan. The typical case is how to check out given a BuildContext#getVcsRevisionKey(), then run the builder command and then collect all the various artifacts.


Method Summary
 java.util.Collection<Artifact> getArtifactDefinitions()
           
 BuilderV2 getBuilderV2()
           
 java.util.Map<java.lang.String,java.lang.String> getCustomConfiguration()
           
 RepositoryV2 getRepository()
          Deprecated. use getRepositoryV2() instead
 RepositoryV2 getRepositoryV2()
          A repository object that can be used to perform
 

Method Detail

getRepository

@Deprecated
@Nullable
RepositoryV2 getRepository()
Deprecated. use getRepositoryV2() instead

A repository object. For plugins backward compatibility only

Returns:

getRepositoryV2

@Nullable
RepositoryV2 getRepositoryV2()
A repository object that can be used to perform

Returns:

getBuilderV2

BuilderV2 getBuilderV2()

getArtifactDefinitions

@Nullable
java.util.Collection<Artifact> getArtifactDefinitions()

getCustomConfiguration

java.util.Map<java.lang.String,java.lang.String> getCustomConfiguration()


Copyright © 2010 Atlassian. All Rights Reserved.