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 class
ImmutableArtifactSubscriptionImpl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableArtifactSubscriptionImpl.Builder
builder()
@NotNull ImmutableArtifactDefinition
getArtifactDefinition()
Get definition of artifact we're subscribed to.@NotNull ImmutableJob
getConsumerJob()
Get job which consumes the artifactString
getDestinationDirectory()
Get destination path.long
getId()
String
getName()
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
getName
public String getName()
- Specified by:
getName
in interfaceImmutableArtifactSubscription
- Specified by:
getName
in interfaceNameProvider
-
getArtifactDefinition
@NotNull public @NotNull ImmutableArtifactDefinition getArtifactDefinition()
Description copied from interface:ImmutableArtifactSubscription
Get definition of artifact we're subscribed to.- Specified by:
getArtifactDefinition
in interfaceImmutableArtifactSubscription
- Returns:
ArtifactDefinition
object
-
getConsumerJob
@NotNull public @NotNull ImmutableJob getConsumerJob()
Description copied from interface:ImmutableArtifactSubscription
Get job which consumes the artifact- Specified by:
getConsumerJob
in interfaceImmutableArtifactSubscription
- Returns:
Job
object
-
getDestinationDirectory
public String getDestinationDirectory()
Description copied from interface:ImmutableArtifactSubscription
Get destination path. This represents a location where consumer job expects to find an artifact.- Specified by:
getDestinationDirectory
in interfaceImmutableArtifactSubscription
- Returns:
- Path to the expected location of artifact
-
builder
public static ImmutableArtifactSubscriptionImpl.Builder builder()
-
-