public enum RunOn extends Enum<RunOn>
Enum Constant and Description |
---|
Success |
SuccessOrUnstable |
Modifier and Type | Method and Description |
---|---|
static RunOn |
fromString(String value) |
boolean |
shouldRunOn(hudson.model.Result result) |
static RunOn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunOn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunOn Success
public static final RunOn SuccessOrUnstable
public static RunOn[] values()
for (RunOn c : RunOn.values()) System.out.println(c);
public static RunOn 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 shouldRunOn(hudson.model.Result result)
Copyright © 2016–2017. All rights reserved.