java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<ArtifactProperties>
com.atlassian.bamboo.specs.api.builders.plan.artifact.Artifact

public class Artifact extends EntityPropertiesBuilder<ArtifactProperties>
Represents Bamboo artifact definition.
  • Field Details

    • SHARED_BY_DEFAULT

      public static final boolean SHARED_BY_DEFAULT
    • REQUIRED_BY_DEFAULT

      public static final boolean REQUIRED_BY_DEFAULT
    • HTTP_COMPRESSION_ON_BY_DEFAULT

      public static final boolean HTTP_COMPRESSION_ON_BY_DEFAULT
  • Constructor Details

    • Artifact

      public Artifact()
    • Artifact

      public Artifact(@NotNull @NotNull String name) throws PropertiesValidationException
      Specify an artifact with given name. Name must be unique within the job; if artifact is shared it must be unique within the plan.

      In the absence of oid, the name is used to identify the artifact. If the artifact with given name does not exist, a new one is created, otherwise existing one is updated.

      Throws:
      PropertiesValidationException
  • Method Details