public abstract class DeploymentCommandSupport extends Object implements org.apache.karaf.shell.api.action.Action
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_DEFINITION_TYPE |
static String |
ALL_OPTION_LABEL |
static String |
CAMPAIGN_DEFINITION_TYPE |
static String |
CONDITION_DEFINITION_TYPE |
protected static List<String> |
definitionTypes |
static String |
GOAL_DEFINITION_TYPE |
static String |
MAPPING_DEFINITION_TYPE |
static String |
MERGER_DEFINITION_TYPE |
static String |
PATCH_DEFINITION_TYPE |
static String |
PERSONA_DEFINITION_TYPE |
static String |
PROPERTY_DEFINITION_TYPE |
static String |
RULE_DEFINITION_TYPE |
static String |
SCORING_DEFINITION_TYPE |
static String |
SEGMENT_DEFINITION_TYPE |
static String |
VALUE_DEFINITION_TYPE |
Constructor and Description |
---|
DeploymentCommandSupport() |
Modifier and Type | Method and Description |
---|---|
protected String |
askUserWithAuthorizedAnswer(org.apache.karaf.shell.api.console.Session session,
String msg,
List<String> authorizedAnswer) |
Object |
execute() |
protected String |
getDefinitionTypePath(String definitionType) |
protected String |
getValuesWithNumber(List<String> values) |
abstract void |
processDefinition(String definitionType,
URL definitionURL) |
protected String |
promptMessageToUser(org.apache.karaf.shell.api.console.Session session,
String msg) |
public static final String ALL_OPTION_LABEL
public static final String CONDITION_DEFINITION_TYPE
public static final String ACTION_DEFINITION_TYPE
public static final String GOAL_DEFINITION_TYPE
public static final String CAMPAIGN_DEFINITION_TYPE
public static final String PERSONA_DEFINITION_TYPE
public static final String PROPERTY_DEFINITION_TYPE
public static final String RULE_DEFINITION_TYPE
public static final String SEGMENT_DEFINITION_TYPE
public static final String SCORING_DEFINITION_TYPE
public static final String PATCH_DEFINITION_TYPE
public static final String VALUE_DEFINITION_TYPE
public static final String MERGER_DEFINITION_TYPE
public static final String MAPPING_DEFINITION_TYPE
public Object execute() throws Exception
execute
in interface org.apache.karaf.shell.api.action.Action
Exception
protected String askUserWithAuthorizedAnswer(org.apache.karaf.shell.api.console.Session session, String msg, List<String> authorizedAnswer) throws IOException
IOException
protected String promptMessageToUser(org.apache.karaf.shell.api.console.Session session, String msg) throws IOException
IOException
Copyright © 2014–2022 Apache Software Foundation. All rights reserved.