Package core.helpers
Class ExternalClassHelper
- java.lang.Object
-
- core.helpers.ExternalClassHelper
-
public class ExternalClassHelper extends Object
- Author:
- ehsan matean
-
-
Constructor Summary
Constructors Constructor Description ExternalClassHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Object[]getParameterNames(List<KeyValue> parameters)protected static booleanisParameterNamesMatch(Object[] parameterNames, Object[] parameterList)verify if parameter names match the ones in the methodprotected static booleanisParameterNamesProvided(List<KeyValue> paramters)parameters should either be all format: parameterName:value or just valuestatic ObjectrunInternalClass(String sourcePath, String methodName, List<KeyValue> parameterList)
-
-
-
Method Detail
-
runInternalClass
public static Object runInternalClass(String sourcePath, String methodName, List<KeyValue> parameterList) throws Exception
- Throws:
Exception
-
isParameterNamesProvided
protected static boolean isParameterNamesProvided(List<KeyValue> paramters)
parameters should either be all format: parameterName:value or just value- Parameters:
paramters-- Returns:
-
-