public class DefaultActionProvider extends Object implements ActionProvider
This class provides default ActionProvider
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<Action> |
ACTIONS |
static com.google.common.collect.ImmutableMap<String,Action> |
ACTIONS_IDS |
static Action |
ARCHIVE |
static Action |
ARCHIVE_APP_MODEL |
static String |
ARCHIVE_ERROR_MESSAGE |
static String |
ARCHIVE_SUCCESS_MESSAGE |
static Action |
COMPLETE |
static Action |
CREATE |
static Action |
DEPLOY |
static String |
DEPLOY_ERROR_MESSAGE |
static String |
DEPLOY_SUCCESS_MESSAGE |
Constructor and Description |
---|
DefaultActionProvider(List<ActionProcessor> actionProcessors) |
Modifier and Type | Method and Description |
---|---|
List<Action> |
getActions(ActionContext actionContext)
Provide allowed
Action s for the given ActionContext |
public static final Action DEPLOY
public static final Action ARCHIVE
public static final Action ARCHIVE_APP_MODEL
public static final Action COMPLETE
public static final Action CREATE
public static final String DEPLOY_SUCCESS_MESSAGE
public static final String DEPLOY_ERROR_MESSAGE
public static final String ARCHIVE_SUCCESS_MESSAGE
public static final String ARCHIVE_ERROR_MESSAGE
public static final com.google.common.collect.ImmutableList<Action> ACTIONS
public DefaultActionProvider(List<ActionProcessor> actionProcessors)
public List<Action> getActions(ActionContext actionContext)
ActionProvider
Provide allowed Action
s for the given ActionContext
getActions
in interface ActionProvider
actionContext
- ActionContext
for the actionsCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.