Class ArtifactsControl
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.BackdoorControl<ArtifactsControl>
-
- com.atlassian.bamboo.testutils.backdoor.artifact.ArtifactsControl
-
public class ArtifactsControl extends BackdoorControl<ArtifactsControl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
-
-
Constructor Summary
Constructors Constructor Description ArtifactsControl(@NotNull BambooEnvironmentData environmentData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Consumer<TestArtifactDetails>
createArtifact(@NotNull PlanKey producerJobKey)
String
getFileContent(PlanResultKey planResultKey, String jobKey, String artifactName, String artifactFileName)
String
getFileContentForSharedArtifact(PlanResultKey planResultKey, String artifactName, String artifactFileName)
-
Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
-
-
-
-
Constructor Detail
-
ArtifactsControl
public ArtifactsControl(@NotNull @NotNull BambooEnvironmentData environmentData)
-
-
Method Detail
-
createArtifact
public Consumer<TestArtifactDetails> createArtifact(@NotNull @NotNull PlanKey producerJobKey)
-
getFileContent
public String getFileContent(PlanResultKey planResultKey, String jobKey, String artifactName, String artifactFileName) throws Exception
- Throws:
Exception
-
-