public class Model extends AbstractNoraUiCli
ENVIRONMENTS, GOOGLE_INJECT_SINGLETON_ANNOTATION, IMPORT_SLF4J_LOGGER, NORAUI_LOGGABLE_ANNOTATION, RESOURCES| Modifier | Constructor and Description |
|---|---|
|
Model() |
protected |
Model(String mainPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String applicationName,
String modelName,
String fields,
String results,
Class<?> robotContext,
boolean verbose)
Add new model for a target application to your robot.
|
List<String> |
getApplications(Class<?> robotContext) |
List<String> |
getModels(String applicationName,
Class<?> robotContext) |
void |
remove(String applicationName,
String modelName,
Class<?> robotContext,
boolean verbose)
Remove model for a target application to your robot.
|
getJavaClassHeaders, updateFilepublic Model()
protected Model(String mainPath)
public List<String> getModels(String applicationName, Class<?> robotContext)
applicationName - name of application.robotContext - Context class from robot.public List<String> getApplications(Class<?> robotContext)
robotContext - Context class from robot.public void add(String applicationName, String modelName, String fields, String results, Class<?> robotContext, boolean verbose)
applicationName - name of application added.modelName - name of model added.fields - is fields of model (String separated by a space).results - is results of model (String separated by a space).robotContext - Context class from robot.verbose - boolean to activate verbose mode (show more traces).public void remove(String applicationName, String modelName, Class<?> robotContext, boolean verbose)
applicationName - name of application.modelName - name of model removed.robotContext - Context class from robot.verbose - boolean to activate verbose mode (show more traces).Copyright © 2023 NoraUi. All rights reserved.