|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DependencyBlockingStrategy> com.atlassian.bamboo.v2.build.trigger.DependencyBlockingStrategy
public enum DependencyBlockingStrategy
Strategy for the DependencyBlockingManager
Enum Constant Summary | |
---|---|
BuildParentIfChangesDetected
|
|
DontBuildIfParentInQueue
|
|
None
|
Field Summary | |
---|---|
static java.lang.String |
DEPENDENCY_BLOCKING_STRATEGY_CONFIG_KEY
|
Method Summary | |
---|---|
static DependencyBlockingStrategy |
getByValue(java.lang.String value)
Get the strategy by value (essentially a key lookup for type of Strategy) |
java.lang.String |
getI18nKey()
Get the I18n key |
static DependencyBlockingStrategy |
getStrategy(Plan build)
Get strategy for build |
java.lang.String |
getValue()
Get storage value |
static void |
setStrategy(DependencyBlockingStrategy strategy,
Plan build)
Set strategy for build |
static DependencyBlockingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DependencyBlockingStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DependencyBlockingStrategy None
public static final DependencyBlockingStrategy DontBuildIfParentInQueue
public static final DependencyBlockingStrategy BuildParentIfChangesDetected
Field Detail |
---|
public static final java.lang.String DEPENDENCY_BLOCKING_STRATEGY_CONFIG_KEY
Method Detail |
---|
public static DependencyBlockingStrategy[] values()
for (DependencyBlockingStrategy c : DependencyBlockingStrategy.values()) System.out.println(c);
public static DependencyBlockingStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null@Nullable public static DependencyBlockingStrategy getStrategy(@NotNull Plan build)
build
- to get the strategy for
public static void setStrategy(DependencyBlockingStrategy strategy, @NotNull Plan build)
strategy
- new strategy for buildbuild
- to set strategy forpublic static DependencyBlockingStrategy getByValue(java.lang.String value)
value
- to look up
public java.lang.String getI18nKey()
public java.lang.String getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |