public class BambooMocks extends Object
Constructor and Description |
---|
BambooMocks() |
Modifier and Type | Method and 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> |
mockIdProvider(Class<T> entityClass,
long id) |
static InternalLinkedJiraIssue |
mockLinkedJiraIssue(String issueKey,
JiraIssueLinkType issueLinkType) |
public static <T extends BambooIdProvider> T mockIdProvider(@NotNull Class<T> entityClass, long id)
public static ArtifactDefinition mockArtifactDefinition(long id, String name, String location, String copyPattern, boolean sharedArtifact, PlanKey producerJobKey)
public static ArtifactDefinition mockArtifactDefinition(long id, String name, String location, String copyPattern, boolean sharedArtifact, Job producerJob)
public static InternalLinkedJiraIssue mockLinkedJiraIssue(@NotNull String issueKey, @NotNull JiraIssueLinkType issueLinkType)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.