public static enum EnforceabilityPlugin.ErrorLevel extends java.lang.Enum<EnforceabilityPlugin.ErrorLevel>
Enum Constant and Description |
---|
Error
error(s) occured - the choreography is not enforceable
|
None
no Errors - the choreography is fully enforceable
|
Warning
warning(s) occured - the choreography is enforceable only with some restrictions
|
Modifier and Type | Method and Description |
---|---|
static EnforceabilityPlugin.ErrorLevel |
levelFor(java.util.Collection<EnforceabilityProblem> problems) |
static EnforceabilityPlugin.ErrorLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnforceabilityPlugin.ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnforceabilityPlugin.ErrorLevel None
public static final EnforceabilityPlugin.ErrorLevel Warning
public static final EnforceabilityPlugin.ErrorLevel Error
public static EnforceabilityPlugin.ErrorLevel[] values()
for (EnforceabilityPlugin.ErrorLevel c : EnforceabilityPlugin.ErrorLevel.values()) System.out.println(c);
public static EnforceabilityPlugin.ErrorLevel 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 namejava.lang.NullPointerException
- if the argument is nullpublic static EnforceabilityPlugin.ErrorLevel levelFor(java.util.Collection<EnforceabilityProblem> problems)