Package 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,NameProvider,Cloneable
-
Constructor Summary
ConstructorsConstructorDescriptionBambooVcsBranchImpl(long id, @NotNull String name) BambooVcsBranchImpl(long id, @NotNull String name, @Nullable Date detectedDeletionDate, long chainId) BambooVcsBranchImpl(Chain chain, VcsBranch newBranch) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull ChaingetChain()Returns the master chain associated with the VCS branch.long@Nullable Date@NotNull StringgetName()inthashCode()booleanisEqualToBranchWith(@NotNull String otherName) voidvoidsetChainId(@org.jetbrains.annotations.NotNull long chainId) voidsetDetectedDeletionDate(@Nullable Date detectedDeletionDate) voidtoString()Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
BambooVcsBranchImpl
public BambooVcsBranchImpl() -
BambooVcsBranchImpl
-
BambooVcsBranchImpl
-
BambooVcsBranchImpl
-
-
Method Details
-
getChain
Description copied from interface:BambooVcsBranchReturns the master chain associated with the VCS branch. Depending on how it is retrieved, the value could not be set though.- Specified by:
getChainin interfaceBambooVcsBranch- Returns:
- master chain associated with the VCS branch
-
setChain
- Specified by:
setChainin interfaceBambooVcsBranch
-
getChainId
public long getChainId()- Specified by:
getChainIdin interfaceBambooVcsBranch
-
setChainId
public void setChainId(@NotNull @org.jetbrains.annotations.NotNull long chainId) - Specified by:
setChainIdin interfaceBambooVcsBranch
-
getName
- Specified by:
getNamein interfaceNameProvider
-
setName
- Specified by:
setNamein interfaceBambooVcsBranch
-
getDetectedDeletionDate
- Specified by:
getDetectedDeletionDatein interfaceBambooVcsBranch
-
setDetectedDeletionDate
- Specified by:
setDetectedDeletionDatein interfaceBambooVcsBranch
-
isEqualToBranchWith
- Specified by:
isEqualToBranchWithin interfaceBambooVcsBranch- Returns:
- true if this object is equal to a branch with given properties.
-
equals
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
toString
-