public interface LogicalModelTool<R,S> extends Service
| Modifier and Type | Method and Description |
|---|---|
R |
getResult(LogicalModel model)
Get the analysis result.
|
R |
getResult(LogicalModel model,
S settings)
Get the analysis result with a custom setting.
|
R |
getResult(LogicalModel model,
String... parameters)
Get the analysis result.
|
R |
getResult(LogicalModel model,
String parameters)
Get the analysis result.
|
S |
getSettings()
Construct a default setting object.
|
S |
getSettings(String... parameters)
Construct a default setting object.
|
S |
getSettings(String parameters)
Construct a default setting object.
|
void |
run(LogicalModel model,
String... parameters)
Run the tool on a logical model.
|
boolean |
supportsMultivalued()
Does this tool handle multivalued models?
|
boolean supportsMultivalued()
S getSettings()
S getSettings(String parameters)
parameters - optional command line settingsS getSettings(String... parameters)
parameters - optional command line settingsR getResult(LogicalModel model, S settings) throws Exception
model - the source modelsettings - a custom setting objectException - when the analysis could not be performedR getResult(LogicalModel model) throws Exception
model - the source modelException - when the analysis could not be performedR getResult(LogicalModel model, String parameters) throws Exception
model - the source modelparameters - optional command line settings (space separated)Exception - when the analysis could not be performedR getResult(LogicalModel model, String... parameters) throws Exception
model - the source modelparameters - optional list of command line settingsException - when the analysis could not be performedvoid run(LogicalModel model, String... parameters)
model - the model to useparameters - the raw command line parametersCopyright © 2012-2017. All Rights Reserved.