com.atlassian.bamboo.chains
Class ChainStageTuple

java.lang.Object
  extended by com.atlassian.bamboo.chains.ChainStageTuple
All Implemented Interfaces:
Comparable<ChainStageTuple>

@Internal
public class ChainStageTuple
extends Object
implements Comparable<ChainStageTuple>

Minimal representation of a ChainStage, a related Plan and the id of the branch's master if it exists

Since:
v4.2

Constructor Summary
ChainStageTuple(Long stageId, PlanKey planKey, Long masterPlanId)
           
 
Method Summary
 int compareTo(ChainStageTuple o)
           
 boolean equals(Object o)
           
static com.google.common.collect.Multimap<PlanKey,Long> groupByPlanKey(List<ChainStageTuple> list)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainStageTuple

public ChainStageTuple(Long stageId,
                       PlanKey planKey,
                       Long masterPlanId)
Method Detail

groupByPlanKey

public static com.google.common.collect.Multimap<PlanKey,Long> groupByPlanKey(List<ChainStageTuple> list)

compareTo

public int compareTo(ChainStageTuple o)
Specified by:
compareTo in interface Comparable<ChainStageTuple>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.