Package core.apiCore.interfaces
Class ExternalInterface
java.lang.Object
core.apiCore.interfaces.ExternalInterface
public class ExternalInterface extends Object
-
Constructor Summary
Constructors Constructor Description ExternalInterface() -
Method Summary
Modifier and Type Method Description static ObjectevaluateTestMethod(ServiceObject serviceObject)set method to call within module.services.method package supports single commandstatic ObjectExternalInterfaceRunner(ServiceObject serviceObject)interface for restful API callsstatic StringgetExternalMethodPath(String classmethod)gets File from root directory root directory: where pom file is located if classname matches the class in method directory, then the class is returnedstatic ObjectrunExernalMethod(String classmethod, List<KeyValue> parameterList)run method from directory: src/main/java/module/services/method the class and method name are passed through options column: class.method
-
Constructor Details
-
ExternalInterface
public ExternalInterface()
-
-
Method Details
-
ExternalInterfaceRunner
interface for restful API calls- Parameters:
serviceObject-- Returns:
- Throws:
Exception
-
evaluateTestMethod
set method to call within module.services.method package supports single command- Parameters:
serviceObject-- Throws:
SecurityExceptionNoSuchMethodExceptionException
-
runExernalMethod
public static Object runExernalMethod(String classmethod, List<KeyValue> parameterList) throws Exceptionrun method from directory: src/main/java/module/services/method the class and method name are passed through options column: class.method- Parameters:
classmethod-- Returns:
- Throws:
Exception
-
getExternalMethodPath
gets File from root directory root directory: where pom file is located if classname matches the class in method directory, then the class is returned- Parameters:
dirs-- Returns:
-