Package com.atlassian.bamboo.build
Interface PlanDependency
-
- All Known Implementing Classes:
PlanDependencyImpl
public interface PlanDependency
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTOMATIC_DEP_KEY
static String
DEFAULT_DEP_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Plan
getChildPlan()
String
getDependencyType()
Get the unique key representing the dependency type.@Nullable Plan
getParentPlan()
boolean
isEditable()
Can the user edit this dependency?
-
-
-
Field Detail
-
DEFAULT_DEP_KEY
static final String DEFAULT_DEP_KEY
- See Also:
- Constant Field Values
-
AUTOMATIC_DEP_KEY
static final String AUTOMATIC_DEP_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChildPlan
@Nullable @Nullable Plan getChildPlan()
- Returns:
- the child plan in this dependency relationship
-
getParentPlan
@Nullable @Nullable Plan getParentPlan()
- Returns:
- the parent plan in this dependency relationship
-
isEditable
boolean isEditable()
Can the user edit this dependency?- Returns:
- true if the user can remove/change this dependency
-
getDependencyType
String getDependencyType()
Get the unique key representing the dependency type. Use this to differentiate groups of dependencies from one another- Returns:
- String representation of the dependency type
-
-