com.atlassian.bamboo.plan.branch
Class VcsBranchImpl

java.lang.Object
  extended by com.atlassian.bamboo.plan.branch.VcsBranchImpl
All Implemented Interfaces:
VcsBranch, NameProvider, java.io.Serializable

public class VcsBranchImpl
extends java.lang.Object
implements java.io.Serializable, VcsBranch

See Also:
Serialized Form

Constructor Summary
protected VcsBranchImpl()
           
  VcsBranchImpl(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 int hashCode()
           
 boolean isEqualToBranchWith(java.lang.String otherName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VcsBranchImpl

protected VcsBranchImpl()

VcsBranchImpl

public VcsBranchImpl(@NotNull
                     java.lang.String name)
Method Detail

getName

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

isEqualToBranchWith

public boolean isEqualToBranchWith(@NotNull
                                   java.lang.String otherName)
Specified by:
isEqualToBranchWith in interface VcsBranch
Returns:
true if this object is equal to a branch with given properties.

equals

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

hashCode

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

toString

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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.