@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-14T20:30:48.337Z") @Stability(value=Stable) public enum ActionCategory extends Enum<ActionCategory>
// MyAction is some action type that produces variables, like EcrSourceAction
MyAction myAction = new MyAction(new MyActionProps()
// ...
.actionName("myAction")
);
new OtherAction(new OtherActionProps()
// ...
.config(myAction.getVariables().getMyVariable())
.actionName("otherAction")
);
| Enum Constant and Description |
|---|
APPROVAL |
BUILD |
DEPLOY |
INVOKE |
SOURCE |
TEST |
| Modifier and Type | Method and Description |
|---|---|
static ActionCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ActionCategory SOURCE
@Stability(value=Stable) public static final ActionCategory BUILD
@Stability(value=Stable) public static final ActionCategory TEST
@Stability(value=Stable) public static final ActionCategory APPROVAL
@Stability(value=Stable) public static final ActionCategory DEPLOY
@Stability(value=Stable) public static final ActionCategory INVOKE
public static ActionCategory[] values()
for (ActionCategory c : ActionCategory.values()) System.out.println(c);
public static ActionCategory 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. All rights reserved.