com.atlassian.bamboo.build
Class BuildFactoryForTests

java.lang.Object
  extended by com.atlassian.bamboo.build.BuildFactoryForTests

Deprecated.

@Deprecated
public class BuildFactoryForTests
extends java.lang.Object

A mother class for creating build objects for use in tests


Method Summary
static BuildObjectForTests createBuild(java.lang.String name)
          Deprecated. Create a build with the given name and default mock settings.
static BuildObjectForTests createBuild(java.lang.String name, Repository repository)
          Deprecated. Create a build with the given name and repository
static BuildObjectForTests createBuild(java.lang.String name, Repository repository, java.lang.String buildKey, java.util.Map<java.lang.String,java.lang.String> metadata)
          Deprecated.  
static BuildObjectForTests createBuildWithKey(java.lang.String key)
          Deprecated.  
static Project createProject(java.lang.String key, java.lang.String name)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createBuild

public static BuildObjectForTests createBuild(java.lang.String name)
Deprecated. 
Create a build with the given name and default mock settings.

Parameters:
name - The name of the build
Returns:
The build

createBuildWithKey

public static BuildObjectForTests createBuildWithKey(java.lang.String key)
Deprecated. 

createBuild

public static BuildObjectForTests createBuild(java.lang.String name,
                                              Repository repository)
Deprecated. 
Create a build with the given name and repository

Parameters:
name - The name of the build
repository - The repository required to access the build source code
Returns:
The build

createBuild

public static BuildObjectForTests createBuild(java.lang.String name,
                                              Repository repository,
                                              java.lang.String buildKey,
                                              java.util.Map<java.lang.String,java.lang.String> metadata)
Deprecated. 

createProject

public static Project createProject(@NotNull
                                    java.lang.String key,
                                    @NotNull
                                    java.lang.String name)
Deprecated. 


Copyright © 2012 Atlassian. All Rights Reserved.