com.atlassian.bamboo.chains
Class ChainStageTuple

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

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

Constructor Detail

ChainStageTuple

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

groupByPlanKey

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

compareTo

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Atlassian. All Rights Reserved.