@Entity public class BambooVcsBranchImpl extends BambooEntityObject implements BambooVcsBranch
Constructor and Description |
---|
BambooVcsBranchImpl() |
BambooVcsBranchImpl(Chain chain,
VcsBranch newBranch) |
BambooVcsBranchImpl(long id,
String name) |
BambooVcsBranchImpl(long id,
String name,
Date detectedDeletionDate,
long chainId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Chain |
getChain()
Returns the master chain associated with the VCS branch.
|
long |
getChainId() |
Date |
getDetectedDeletionDate() |
String |
getName() |
int |
hashCode() |
boolean |
isEqualToBranchWith(String otherName) |
void |
setChain(Chain chain) |
void |
setChainId(long chainId) |
void |
setDetectedDeletionDate(Date detectedDeletionDate) |
void |
setName(String name) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
public BambooVcsBranchImpl()
public BambooVcsBranchImpl(long id, @NotNull String name)
@NotNull public Chain getChain()
BambooVcsBranch
getChain
in interface BambooVcsBranch
public void setChain(@NotNull Chain chain)
setChain
in interface BambooVcsBranch
public long getChainId()
getChainId
in interface BambooVcsBranch
public void setChainId(@NotNull long chainId)
setChainId
in interface BambooVcsBranch
@NotNull public String getName()
getName
in interface NameProvider
public void setName(@NotNull String name)
setName
in interface BambooVcsBranch
@Nullable public Date getDetectedDeletionDate()
getDetectedDeletionDate
in interface BambooVcsBranch
public void setDetectedDeletionDate(@Nullable Date detectedDeletionDate)
setDetectedDeletionDate
in interface BambooVcsBranch
public boolean isEqualToBranchWith(@NotNull String otherName)
isEqualToBranchWith
in interface BambooVcsBranch
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.