public class ArtifactItem extends EntityPropertiesBuilder<ArtifactItemProperties>
// all artifacts from a current plan
new ArtifactItem()
// an artifact from a current plan
new ArtifactItem()
.artifact("name")
// an artifact from another plan
new ArtifactItem()
.sourcePlan(new PlanIdentifier("PROJ", "PLAN"))
.artifact("name")
| Constructor and Description |
|---|
ArtifactItem() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactItem |
allArtifacts()
Specify that all downloaded artifacts shall be taken.
|
ArtifactItem |
artifact(@NotNull String artifactName)
Specify that only one downloaded artifact shall be taken.
|
protected ArtifactItemProperties |
build() |
ArtifactItem |
sourcePlan(@NotNull PlanIdentifier planIdentifier)
Specify from which plan a downloaded artifact shall be taken.
|
String |
toString() |
public ArtifactItem sourcePlan(@NotNull @NotNull PlanIdentifier planIdentifier)
planIdentifier - a project-plan key, e.g. "MYPROJECT-MYPLAN"public ArtifactItem artifact(@NotNull @NotNull String artifactName)
artifactName - name of the downloaded artifactpublic ArtifactItem allArtifacts()
protected ArtifactItemProperties build()
build in class EntityPropertiesBuilder<ArtifactItemProperties>Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.