com.atlassian.bamboo.plan.artifact
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
 java.lang.String getCopyPattern()
          Get artifact copy pattern
 long getId()
          Exposes the id of the ArtifactDefinition
 java.lang.String getLocation()
          Get artifact location
 java.lang.String getName()
          Get artifact name
 boolean isSharedArtifact()
          Get value of "SharedArtifact" flag.
 

Method Detail

getId

long getId()
Exposes the id of the ArtifactDefinition

Specified by:
getId in interface BambooIdProvider
Returns:
-1 if the id is unknown

getName

@NotNull
java.lang.String getName()
Get artifact name

Specified by:
getName in interface NameProvider
Returns:
Artifact name

getLocation

@Nullable
java.lang.String getLocation()
Get artifact location

Returns:
artifact's contents path or null if none specified (then build root is supposed to be used)

getCopyPattern

@NotNull
java.lang.String getCopyPattern()
Get artifact copy pattern

Returns:
Ant-compatible copy pattern

isSharedArtifact

boolean isSharedArtifact()
Get value of "SharedArtifact" flag.

Returns:
true if ArtifactDefinition is marked as "SharedArtifact"


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.