Class StepDefinitionHelper
- java.lang.Object
-
- io.virtualan.cucumblan.props.util.StepDefinitionHelper
-
public class StepDefinitionHelper extends java.lang.ObjectThe type Step definition helper.- Author:
- Elan Thangamani
-
-
Constructor Summary
Constructors Constructor Description StepDefinitionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringbuildJsonString(java.lang.String fileName, java.lang.String jsonInput)Build json string string.static java.lang.StringgetActualResource(java.lang.String resourceKey, java.lang.String system)Gets actual resource.static java.lang.ObjectgetActualValue(java.lang.String value)Gets actual value.static java.lang.StringgetHostName(java.lang.String resourceKey, java.lang.String system)Gets actual resource.
-
-
-
Method Detail
-
getActualValue
public static java.lang.Object getActualValue(java.lang.String value)
Gets actual value.- Parameters:
value- the value- Returns:
- the actual value
-
getHostName
public static java.lang.String getHostName(java.lang.String resourceKey, java.lang.String system)Gets actual resource.- Parameters:
resourceKey- the resource keysystem- the system- Returns:
- the actual resource
-
getActualResource
public static java.lang.String getActualResource(java.lang.String resourceKey, java.lang.String system)Gets actual resource.- Parameters:
resourceKey- the resource keysystem- the system- Returns:
- the actual resource
-
buildJsonString
public static java.lang.String buildJsonString(java.lang.String fileName, java.lang.String jsonInput) throws java.lang.ExceptionBuild json string string.- Parameters:
fileName- the file namejsonInput- the json input- Returns:
- the string
- Throws:
java.lang.Exception- the exception
-
-