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