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
All Methods Static Methods Concrete Methods 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
-
-
-
Method Detail
-
ExternalInterfaceRunner
public static Object ExternalInterfaceRunner(ServiceObject serviceObject)
interface for restful API calls- Parameters:
serviceObject-- Returns:
- Throws:
Exception
-
evaluateTestMethod
public static Object evaluateTestMethod(ServiceObject serviceObject) throws Exception
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 Exception
run 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
-
-