public class NoraUiCliParameters extends Object
Constructor and Description |
---|
NoraUiCliParameters(int featureCode,
String applicationName,
String scenarioName,
String modelName,
String url,
String description,
String fields,
String results,
String cryptoKey,
Class<?> robotContext,
Class<?> robotCounter,
boolean verbose,
Scanner input,
boolean interactiveMode) |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationName() |
String |
getCryptoKey() |
String |
getDescription() |
int |
getFeatureCode() |
String |
getFields() |
Scanner |
getInput() |
boolean |
getInteractiveMode() |
String |
getModelName() |
String |
getResults() |
Class<?> |
getRobotContext() |
Class<?> |
getRobotCounter() |
String |
getScenarioName() |
String |
getUrl() |
boolean |
getVerbose() |
void |
setApplicationName(String applicationName) |
void |
setCryptoKey(String cryptoKey) |
void |
setDescription(String description) |
void |
setFeatureCode(int featureCode) |
void |
setFields(String fields) |
void |
setInput(Scanner input) |
void |
setInteractiveMode(boolean interactiveMode) |
void |
setModelName(String modelName) |
void |
setResults(String results) |
void |
setRobotContext(Class<?> robotContext) |
void |
setRobotCounter(Class<?> robotCounter) |
void |
setScenarioName(String scenarioName) |
void |
setUrl(String url) |
void |
setVerbose(boolean verbose) |
public NoraUiCliParameters(int featureCode, String applicationName, String scenarioName, String modelName, String url, String description, String fields, String results, String cryptoKey, Class<?> robotContext, Class<?> robotCounter, boolean verbose, Scanner input, boolean interactiveMode)
featureCode
- is -f arg ("1" is "add new application", "2" is "add new scenario", "3" is "add new model", "4" is
"remove application", "5" is "remove scenario", "6" is "remove model", "7" is
"encrypt data", "8" is "decrypt data", "9" is "status" and "0" is "exit NoraUi CLI").applicationName
- name of application.scenarioName
- name of scenario.modelName
- name of model.url
- is first(home or login page) url of application.description
- is description of scenario.fields
- is fields of model (String separated by a space).results
- is results of model (String separated by a space).cryptoKey
- is AES key (secret key).robotContext
- Context class from robot.robotCounter
- Counter class from robot.verbose
- boolean to activate verbose mode (show more traces).input
- NoraUI CLI use Java Scanner class.interactiveMode
- When the NoraUi CLI goal is executed in interactive mode, it will prompt the user for all the
previously listed parameters.
When interactiveMode is false, the NoraUi CLI goal will use the values passed in from the command
line.public int getFeatureCode()
public void setFeatureCode(int featureCode)
public String getApplicationName()
public void setApplicationName(String applicationName)
public String getScenarioName()
public void setScenarioName(String scenarioName)
public String getModelName()
public void setModelName(String modelName)
public String getUrl()
public void setUrl(String url)
public String getDescription()
public void setDescription(String description)
public String getFields()
public void setFields(String fields)
public String getResults()
public void setResults(String results)
public String getCryptoKey()
public void setCryptoKey(String cryptoKey)
public Class<?> getRobotContext()
public void setRobotContext(Class<?> robotContext)
public Class<?> getRobotCounter()
public void setRobotCounter(Class<?> robotCounter)
public boolean getVerbose()
public void setVerbose(boolean verbose)
public Scanner getInput()
public void setInput(Scanner input)
public boolean getInteractiveMode()
public void setInteractiveMode(boolean interactiveMode)
Copyright © 2023 NoraUi. All rights reserved.