|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.BuildFactoryForTests
public class BuildFactoryForTests
A mother class for creating build objects for use in tests
Method Summary | |
---|---|
static BuildObjectForTests |
createBuild(java.lang.String name)
Create a build with the given name and default mock settings. |
static BuildObjectForTests |
createBuild(java.lang.String name,
Builder builder)
Create a build with the given name and builder |
static BuildObjectForTests |
createBuild(java.lang.String name,
Builder builder,
Repository repository,
BuilderManager builderManager,
java.lang.String buildKey)
Create a build with the given name and builder |
static BuildObjectForTests |
createBuild(java.lang.String name,
Builder builder,
Repository repository,
BuilderManager builderManager,
java.lang.String buildKey,
java.util.Map<java.lang.String,java.lang.String> metadata)
|
static BuildObjectForTests |
createBuild(java.lang.String name,
Repository repository)
Create a build with the given name and repository |
static BuildObjectForTests |
createBuildWithKey(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BuildObjectForTests createBuild(java.lang.String name)
name
- The name of the build
public static BuildObjectForTests createBuildWithKey(java.lang.String key)
public static BuildObjectForTests createBuild(java.lang.String name, Builder builder)
name
- The name of the buildbuilder
- The builder required to build the build
public static BuildObjectForTests createBuild(java.lang.String name, Repository repository)
name
- The name of the buildrepository
- The repository required to access the build source code
public static BuildObjectForTests createBuild(java.lang.String name, Builder builder, Repository repository, BuilderManager builderManager, java.lang.String buildKey)
name
- The name of the buildbuilder
- The builder required to build the buildrepository
- The repository required to access the build source codebuilderManager
- buildKey
-
public static BuildObjectForTests createBuild(java.lang.String name, Builder builder, Repository repository, BuilderManager builderManager, java.lang.String buildKey, java.util.Map<java.lang.String,java.lang.String> metadata)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |