public class ModelService extends java.lang.Object
| Constructor and Description |
|---|
ModelService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
execute(java.lang.String modelURL,
java.lang.String xmlParams)
Deprecated.
This method takes a url specifying the model to be execute.
|
java.lang.String |
executeModel(CompositeActor model)
Deprecated.
This method takes model argument which is type of CompositeActor.
|
public ModelService()
public java.lang.String execute(java.lang.String modelURL, java.lang.String xmlParams) throws java.lang.Exception
url - The Model url.args - A set of attributes of the specified model.resultLabels - Labels of the returned result.IllegalActionException - If can not parse the url or failed to execute the model.java.lang.Exceptionpublic java.lang.String executeModel(CompositeActor model) throws java.lang.Exception
model - The Model.args - A set of attributes of the specified model.resultLabels - Labels of the returned result.IllegalActionException - If failed to execute the model.java.lang.Exception