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 String
getBranchDisplayName()
@Nullable String
getBranchName()
long
getId()
@Nullable VcsBranch
getVcsBranch()
Vcs branch built by this plan branch.@Nullable Long
getVcsRepositoryId()
Id of the default repository of the plan branch when its status was last checked.boolean
isMarkedInvalid()
If last verification of metadata failed.void
setBranchDisplayName(@Nullable String branchDisplayName)
void
setBranchName(@Nullable String branchName)
void
setId(long id)
void
setMarkedInvalid(boolean markedInvalid)
void
setVcsBranch(@Nullable VcsBranch vcsBranch)
void
setVcsRepositoryId(@Nullable Long vcsRepositoryId)
-
-
-
Constructor Detail
-
MutablePlanBranchMetadata
public MutablePlanBranchMetadata(@NotNull @NotNull ChainBranch chainBranch)
-
-
Method Detail
-
getVcsBranch
@Nullable public @Nullable VcsBranch getVcsBranch()
Description copied from interface:PlanBranchMetadata
Vcs branch built by this plan branch.- Specified by:
getVcsBranch
in interfacePlanBranchMetadata
-
setVcsBranch
public void setVcsBranch(@Nullable @Nullable VcsBranch vcsBranch)
-
getVcsRepositoryId
@Nullable public @Nullable Long getVcsRepositoryId()
Description copied from interface:PlanBranchMetadata
Id of the default repository of the plan branch when its status was last checked.- Specified by:
getVcsRepositoryId
in 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:PlanBranchMetadata
If last verification of metadata failed.- Specified by:
isMarkedInvalid
in interfacePlanBranchMetadata
-
setMarkedInvalid
public void setMarkedInvalid(boolean markedInvalid)
-
-