com.atlassian.bamboo.plan.artifact
Class ImmutableArtifactSubscriptionImpl

java.lang.Object
  extended by com.atlassian.bamboo.plan.artifact.ImmutableArtifactSubscriptionImpl
All Implemented Interfaces:
BambooIdProvider, ImmutableArtifactSubscription, NameProvider

public class ImmutableArtifactSubscriptionImpl
extends java.lang.Object
implements ImmutableArtifactSubscription


Nested Class Summary
static class ImmutableArtifactSubscriptionImpl.Builder
           
 
Method Summary
static ImmutableArtifactSubscriptionImpl.Builder builder()
           
 ImmutableArtifactDefinition getArtifactDefinition()
          Get definition of artifact we're subscribed to.
 ImmutableJob getConsumerJob()
          Get job which consumes the artifact
 java.lang.String getDestinationDirectory()
          Get destination path.
 long getId()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

public long getId()
Specified by:
getId in interface BambooIdProvider

getName

public java.lang.String getName()
Specified by:
getName in interface NameProvider

getArtifactDefinition

@NotNull
public ImmutableArtifactDefinition getArtifactDefinition()
Description copied from interface: ImmutableArtifactSubscription
Get definition of artifact we're subscribed to.

Specified by:
getArtifactDefinition in interface ImmutableArtifactSubscription
Returns:
ArtifactDefinition object

getConsumerJob

@NotNull
public ImmutableJob getConsumerJob()
Description copied from interface: ImmutableArtifactSubscription
Get job which consumes the artifact

Specified by:
getConsumerJob in interface ImmutableArtifactSubscription
Returns:
Job object

getDestinationDirectory

public java.lang.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 interface ImmutableArtifactSubscription
Returns:
Path to the expected location of artifact

builder

public static ImmutableArtifactSubscriptionImpl.Builder builder()


Copyright © 2012 Atlassian. All Rights Reserved.