com.atlassian.bamboo.plan.branch
Class BambooVcsBranchImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.plan.branch.BambooVcsBranchImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, BambooVcsBranch, VcsBranch, NameProvider, java.lang.Cloneable
public class BambooVcsBranchImpl
- extends BambooEntityObject
- implements BambooVcsBranch
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
BambooVcsBranchImpl
public BambooVcsBranchImpl()
BambooVcsBranchImpl
public BambooVcsBranchImpl(ImmutableChain chain,
VcsBranch newBranch)
BambooVcsBranchImpl
public BambooVcsBranchImpl(long id,
@NotNull
java.lang.String name)
getChain
@NotNull
public ImmutableChain getChain()
- Specified by:
getChain
in interface BambooVcsBranch
setChain
public void setChain(@NotNull
ImmutableChain chain)
- Specified by:
setChain
in interface BambooVcsBranch
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName
in interface VcsBranch
- Specified by:
getName
in interface NameProvider
setName
public void setName(@NotNull
java.lang.String name)
- Specified by:
setName
in interface BambooVcsBranch
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 com.atlassian.core.bean.EntityObject
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.atlassian.core.bean.EntityObject
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 Atlassian. All Rights Reserved.