com.atlassian.bamboo.chains.cache
Interface ImmutableChainStage

All Superinterfaces:
BambooIdProvider, DescriptionProvider, ImmutableDeletable, NameProvider
All Known Subinterfaces:
ChainStage
All Known Implementing Classes:
ChainStageImpl, ImmutableChainStageImpl

public interface ImmutableChainStage
extends DescriptionProvider, ImmutableDeletable, BambooIdProvider

An immutable version of ChainStage. Prefer using thsi interface unless modifying the stage


Method Summary
 ImmutableChain getChain()
          Gets the Chain that the stage belongs to
 java.lang.String getDescription()
          Get the Stage Description
 java.util.Set<? extends ImmutableJob> getJobs()
          Gets the ImmutableJobs associated with this Stage, excluding the ones marked for deletion
 ImmutableChainStage getMaster()
           
 java.lang.String getName()
          Get the Stage Name
 boolean hasMaster()
           
 boolean isManual()
           
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Method Detail

getName

@NotNull
java.lang.String getName()
Get the Stage Name

Specified by:
getName in interface DescriptionProvider
Specified by:
getName in interface NameProvider
Returns:
name

getDescription

@Nullable
java.lang.String getDescription()
Get the Stage Description

Specified by:
getDescription in interface DescriptionProvider
Returns:
description

isManual

boolean isManual()

getChain

@NotNull
ImmutableChain getChain()
Gets the Chain that the stage belongs to

Returns:
chain

getJobs

@NotNull
java.util.Set<? extends ImmutableJob> getJobs()
Gets the ImmutableJobs associated with this Stage, excluding the ones marked for deletion

Returns:
jobs

getMaster

@Nullable
ImmutableChainStage getMaster()

hasMaster

boolean hasMaster()


Copyright © 2012 Atlassian. All Rights Reserved.