Interface ImmutableArtifactDefinitionBase
-
- All Superinterfaces:
BambooIdProvider,NameProvider
- All Known Subinterfaces:
ArtifactDefinition,ArtifactDefinitionBase,ArtifactDefinitionContext,ImmutableArtifactDefinition
- All Known Implementing Classes:
ArtifactDefinitionContextImpl,ArtifactDefinitionImpl,ImmutableArtifactDefinitionImpl
public interface ImmutableArtifactDefinitionBase extends BambooIdProvider, NameProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull StringgetCopyPattern()Deprecated.since 9.0 usegetCopyPatterns()instead@NotNull List<String>getCopyPatterns()Get artifact copy patterns@NotNull List<String>getExclusionPatterns()Get artifact exclusion patternslonggetId()Exposes the id of theArtifactDefinition@Nullable StringgetLocation()Get artifact location@NotNull StringgetName()Get artifact namebooleanisHttpCompressionOn()booleanisRequired()booleanisSharedArtifact()Get value of "SharedArtifact" flag.
-
-
-
Method Detail
-
getId
long getId()
Exposes the id of theArtifactDefinition- Specified by:
getIdin interfaceBambooIdProvider- Returns:
- -1 if the id is unknown
-
getName
@NotNull @NotNull String getName()
Get artifact name- Specified by:
getNamein interfaceNameProvider- Returns:
- Artifact name
-
getLocation
@Nullable @Nullable String getLocation()
Get artifact location- Returns:
- artifact's contents path or null if none specified (then build root is supposed to be used)
-
getCopyPattern
@Deprecated @NotNull @NotNull String getCopyPattern()
Deprecated.since 9.0 usegetCopyPatterns()insteadGet artifact copy pattern- Returns:
- Ant-compatible copy pattern
-
getCopyPatterns
@NotNull @NotNull List<String> getCopyPatterns()
Get artifact copy patterns- Returns:
- Ant-compatible copy patterns
- Since:
- 9.0
-
getExclusionPatterns
@NotNull @NotNull List<String> getExclusionPatterns()
Get artifact exclusion patterns- Returns:
- Ant-compatible exclusion patterns
- Since:
- 9.0
-
isSharedArtifact
boolean isSharedArtifact()
Get value of "SharedArtifact" flag.- Returns:
- true if ArtifactDefinition is marked as "SharedArtifact"
-
isRequired
boolean isRequired()
- Returns:
- true if artifact is required for successful build completion
-
isHttpCompressionOn
boolean isHttpCompressionOn()
- Returns:
- true if use of compression enabled to transfer artifact between server and agent (both directions)
-
-