|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChainBranchManager
Method Summary | |
---|---|
int |
getBranchCount(Plan plan)
Returns the number of branches the given plan has |
java.util.List<ChainBranch> |
getBranchesForChain(ImmutableChain chain)
Get all feature branches associated with the given chain |
java.util.List<ChainBranchIdentifier> |
getBranchIdentifiersForChain(PlanIdentifier chain)
Get all feature branches associated with the given chain, however on pulls up minimal details about each branch. |
java.util.Set<java.lang.Long> |
getPlansWithBranches()
Returns a list of plans that currently have branches |
boolean |
hasBranches(Plan plan)
Returns whether or not the given plan has any branches |
boolean |
isPlanBranchNameConflicting(ImmutableChain masterPlan,
long chainBranchIdToIgnore,
java.lang.String branchName)
Verifies whether a ChainBranch name is unique with a given master Chain
|
Method Detail |
---|
@NotNull java.util.List<ChainBranch> getBranchesForChain(@NotNull ImmutableChain chain)
chain
- - the master
ChainBranch
s associated with the given chain.@NotNull java.util.List<ChainBranchIdentifier> getBranchIdentifiersForChain(@NotNull PlanIdentifier chain)
chain
- - the master
ChainBranchIdentifier
for branches associated with the given Chain.boolean hasBranches(@NotNull Plan plan)
plan
- to check for branches for
int getBranchCount(@NotNull Plan plan)
plan
- to check for branches for
@NotNull java.util.Set<java.lang.Long> getPlansWithBranches()
boolean isPlanBranchNameConflicting(ImmutableChain masterPlan, long chainBranchIdToIgnore, java.lang.String branchName)
ChainBranch
name is unique with a given master Chain
masterPlan
- the master chain within which the name has to be uniquechainBranchIdToIgnore
- the id of the ChainBranch that has to be ignored during lookup (when you're saving a ChainBranch, you should supply its id here)branchName
- displayed name of the ChainBranch inside the master's plan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |