public enum ValidationPolicy extends Enum<ValidationPolicy>
Enum Constant and Description |
---|
MANDATORY
Any deployment must be verified to be deployed.
|
NONE
Never do any check.
|
VERIFY
Validate the deployment when a signature exists for this deployment: when the signature cannot be verified
the deployment fails.
|
Modifier and Type | Method and Description |
---|---|
static ValidationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationPolicy NONE
public static final ValidationPolicy VERIFY
public static final ValidationPolicy MANDATORY
public static ValidationPolicy[] values()
for (ValidationPolicy c : ValidationPolicy.values()) System.out.println(c);
public static ValidationPolicy 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 nullCopyright © 2022 Eclipse. All rights reserved.