Package com.t4a.predict
Class SwaggerPredictionLoader
java.lang.Object
com.t4a.predict.SwaggerPredictionLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
load
(Map<String, AIAction> predictions, StringBuffer actionNameList, ActionList listOfActions) void
loadURL
(String jsonURL, Map<String, AIAction> predictions, StringBuffer actionNameList, String baseURL, Map<String, String> headers, String group, String groupDiscription, ActionList listOfActions) void
parseConfig
(Map<String, AIAction> predictions, StringBuffer actionNameList, ActionList listOfActions)
-
Constructor Details
-
SwaggerPredictionLoader
public SwaggerPredictionLoader()
-
-
Method Details
-
load
public void load(Map<String, AIAction> predictions, StringBuffer actionNameList, ActionList listOfActions) throws LoaderException- Throws:
LoaderException
-
parseConfig
public void parseConfig(Map<String, AIAction> predictions, StringBuffer actionNameList, ActionList listOfActions) throws IOException- Throws:
IOException
-
loadURL
-