Class ImmutableArtifactSubscriptionImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.artifact.ImmutableArtifactSubscriptionImpl
-
- All Implemented Interfaces:
BambooIdProvider,ImmutableArtifactSubscription,NameProvider
public class ImmutableArtifactSubscriptionImpl extends Object implements ImmutableArtifactSubscription
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableArtifactSubscriptionImpl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableArtifactSubscriptionImpl.Builderbuilder()@NotNull ImmutableArtifactDefinitiongetArtifactDefinition()Get definition of artifact we're subscribed to.@NotNull ImmutableJobgetConsumerJob()Get job which consumes the artifactStringgetDestinationDirectory()Get destination path.longgetId()StringgetName()
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceBambooIdProvider
-
getName
public String getName()
- Specified by:
getNamein interfaceImmutableArtifactSubscription- Specified by:
getNamein interfaceNameProvider
-
getArtifactDefinition
@NotNull public @NotNull ImmutableArtifactDefinition getArtifactDefinition()
Description copied from interface:ImmutableArtifactSubscriptionGet definition of artifact we're subscribed to.- Specified by:
getArtifactDefinitionin interfaceImmutableArtifactSubscription- Returns:
ArtifactDefinitionobject
-
getConsumerJob
@NotNull public @NotNull ImmutableJob getConsumerJob()
Description copied from interface:ImmutableArtifactSubscriptionGet job which consumes the artifact- Specified by:
getConsumerJobin interfaceImmutableArtifactSubscription- Returns:
Jobobject
-
getDestinationDirectory
public String getDestinationDirectory()
Description copied from interface:ImmutableArtifactSubscriptionGet destination path. This represents a location where consumer job expects to find an artifact.- Specified by:
getDestinationDirectoryin interfaceImmutableArtifactSubscription- Returns:
- Path to the expected location of artifact
-
builder
public static ImmutableArtifactSubscriptionImpl.Builder builder()
-
-