Package com.atlassian.bamboo.plan.branch
Class MutablePlanBranchMetadata
- java.lang.Object
-
- com.atlassian.bamboo.plan.branch.MutablePlanBranchMetadata
-
- All Implemented Interfaces:
PlanBranchMetadata
@Entity public class MutablePlanBranchMetadata extends Object implements PlanBranchMetadata
-
-
Constructor Summary
Constructors Constructor Description MutablePlanBranchMetadata(@NotNull ChainBranch chainBranch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetBranchDisplayName()@Nullable StringgetBranchName()longgetId()@Nullable VcsBranchgetVcsBranch()Vcs branch built by this plan branch.@Nullable LonggetVcsRepositoryId()Id of the default repository of the plan branch when its status was last checked.booleanisMarkedInvalid()If last verification of metadata failed.voidsetBranchDisplayName(@Nullable String branchDisplayName)voidsetBranchName(@Nullable String branchName)voidsetId(long id)voidsetMarkedInvalid(boolean markedInvalid)voidsetVcsBranch(@Nullable VcsBranch vcsBranch)voidsetVcsRepositoryId(@Nullable Long vcsRepositoryId)
-
-
-
Constructor Detail
-
MutablePlanBranchMetadata
public MutablePlanBranchMetadata(@NotNull @NotNull ChainBranch chainBranch)
-
-
Method Detail
-
getVcsBranch
@Nullable public @Nullable VcsBranch getVcsBranch()
Description copied from interface:PlanBranchMetadataVcs branch built by this plan branch.- Specified by:
getVcsBranchin interfacePlanBranchMetadata
-
setVcsBranch
public void setVcsBranch(@Nullable @Nullable VcsBranch vcsBranch)
-
getVcsRepositoryId
@Nullable public @Nullable Long getVcsRepositoryId()
Description copied from interface:PlanBranchMetadataId of the default repository of the plan branch when its status was last checked.- Specified by:
getVcsRepositoryIdin interfacePlanBranchMetadata
-
setVcsRepositoryId
public void setVcsRepositoryId(@Nullable @Nullable Long vcsRepositoryId)
-
getId
public long getId()
-
setId
public void setId(long id)
-
getBranchName
@Nullable public @Nullable String getBranchName()
-
setBranchName
public void setBranchName(@Nullable @Nullable String branchName)
-
getBranchDisplayName
@Nullable public @Nullable String getBranchDisplayName()
-
setBranchDisplayName
public void setBranchDisplayName(@Nullable @Nullable String branchDisplayName)
-
isMarkedInvalid
public boolean isMarkedInvalid()
Description copied from interface:PlanBranchMetadataIf last verification of metadata failed.- Specified by:
isMarkedInvalidin interfacePlanBranchMetadata
-
setMarkedInvalid
public void setMarkedInvalid(boolean markedInvalid)
-
-