Interface ArtifactDefinitionBase

All Superinterfaces:
BambooIdProvider, ImmutableArtifactDefinitionBase, NameProvider
All Known Subinterfaces:
ArtifactDefinition, ArtifactDefinitionContext
All Known Implementing Classes:
ArtifactDefinitionContextImpl, ArtifactDefinitionImpl

public interface ArtifactDefinitionBase extends ImmutableArtifactDefinitionBase
  • Method Details

    • setName

      void setName(@NotNull @NotNull String name)
      Set label
      Parameters:
      name - new value of label
    • setLocation

      void setLocation(@Nullable @Nullable String location)
      Set artifact location
      Parameters:
      location - new artifact location
    • setCopyPattern

      @Deprecated void setCopyPattern(@NotNull @NotNull String copyPattern)
      Deprecated.
      since 9.0 use setCopyPatterns(List)
      Set copy pattern
      Parameters:
      copyPattern - new value of copy pattern
    • setCopyPatterns

      void setCopyPatterns(@NotNull @NotNull List<String> copyPatterns)
      Set copy patterns
      Parameters:
      copyPatterns - new copy patterns
      Since:
      9.0
    • setExclusionPatterns

      void setExclusionPatterns(@Nullable @Nullable List<String> exclusionPatterns)
      Set exclusion patterns
      Parameters:
      exclusionPatterns -
      Since:
      9.0
    • setSharedArtifact

      void setSharedArtifact(boolean sharedArtifact)
      Set "SharedArtifact" flag
      Parameters:
      sharedArtifact - new value of "SharedArtifact" flag
    • setRequired

      void setRequired(boolean requiredArtifact)
      Parameters:
      requiredArtifact - if build should fail if can't publish artifact
    • setHttpCompressionOn

      void setHttpCompressionOn(boolean httpCompressionOn)
      Sets "httpCompressionOn" flag
      Parameters:
      httpCompressionOn - new value of "httpCompressionOn" flag