Package com.atlassian.bamboo.mock
Class BambooMocks
- java.lang.Object
-
- com.atlassian.bamboo.mock.BambooMocks
-
public class BambooMocks extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooMocks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArtifactDefinition
mockArtifactDefinition(long id, String name, String location, String copyPattern, boolean sharedArtifact, Job producerJob)
static ArtifactDefinition
mockArtifactDefinition(long id, String name, String location, String copyPattern, boolean sharedArtifact, PlanKey producerJobKey)
static <T extends BambooIdProvider>
TmockIdProvider(@NotNull Class<T> entityClass, long id)
static InternalLinkedJiraIssue
mockLinkedJiraIssue(@NotNull String issueKey, @NotNull JiraIssueLinkType issueLinkType)
static com.atlassian.struts.TextProvider
mockTextProvider()
-
-
-
Method Detail
-
mockIdProvider
public static <T extends BambooIdProvider> T mockIdProvider(@NotNull @NotNull Class<T> entityClass, long id)
-
mockArtifactDefinition
public static ArtifactDefinition mockArtifactDefinition(long id, String name, String location, String copyPattern, boolean sharedArtifact, PlanKey producerJobKey)
-
mockArtifactDefinition
public static ArtifactDefinition mockArtifactDefinition(long id, String name, String location, String copyPattern, boolean sharedArtifact, Job producerJob)
-
mockLinkedJiraIssue
public static InternalLinkedJiraIssue mockLinkedJiraIssue(@NotNull @NotNull String issueKey, @NotNull @NotNull JiraIssueLinkType issueLinkType)
-
mockTextProvider
public static com.atlassian.struts.TextProvider mockTextProvider()
-
-