Package com.atlassian.bamboo.mock
Class BambooMocks
java.lang.Object
com.atlassian.bamboo.mock.BambooMocks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
BambooMocks
public BambooMocks()
-
-
Method Details
-
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()
-