public static enum AIGuard.Action extends Enum<AIGuard.Action>
| Enum Constant and Description |
|---|
ABORT
Workflow should be immediately terminated due to severe risk
|
ALLOW
Content is safe to proceed with execution
|
DENY
Current action should be blocked from execution
|
| Modifier and Type | Method and Description |
|---|---|
static AIGuard.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AIGuard.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AIGuard.Action ALLOW
public static final AIGuard.Action DENY
public static final AIGuard.Action ABORT
public static AIGuard.Action[] values()
for (AIGuard.Action c : AIGuard.Action.values()) System.out.println(c);
public static AIGuard.Action 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 null