public static enum BuildTriggerCondition.ExecutionPreference extends Enum<BuildTriggerCondition.ExecutionPreference>
Enum Constant and Description |
---|
MUST_RUN |
MUST_STOP |
NONE |
SHOULD_RUN |
SHOULD_STOP |
Modifier and Type | Method and Description |
---|---|
boolean |
isHigherThan(BuildTriggerCondition.ExecutionPreference other) |
boolean |
stopBuild() |
static BuildTriggerCondition.ExecutionPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildTriggerCondition.ExecutionPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildTriggerCondition.ExecutionPreference MUST_STOP
public static final BuildTriggerCondition.ExecutionPreference MUST_RUN
public static final BuildTriggerCondition.ExecutionPreference SHOULD_STOP
public static final BuildTriggerCondition.ExecutionPreference SHOULD_RUN
public static final BuildTriggerCondition.ExecutionPreference NONE
public static BuildTriggerCondition.ExecutionPreference[] values()
for (BuildTriggerCondition.ExecutionPreference c : BuildTriggerCondition.ExecutionPreference.values()) System.out.println(c);
public static BuildTriggerCondition.ExecutionPreference valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isHigherThan(BuildTriggerCondition.ExecutionPreference other)
public boolean stopBuild()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.