Class StepDefinitionHelper


  • public class StepDefinitionHelper
    extends java.lang.Object
    The type Step definition helper.
    Author:
    Elan Thangamani
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildJsonString​(java.lang.String fileName, java.lang.String jsonInput)
      Build json string string.
      static java.lang.String getActualResource​(java.lang.String resourceKey, java.lang.String system)
      Gets actual resource.
      static java.lang.Object getActualValue​(java.lang.String value)
      Gets actual value.
      static java.lang.String getHostName​(java.lang.String resourceKey, java.lang.String system)
      Gets actual resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StepDefinitionHelper

        public StepDefinitionHelper()
    • 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 key
        system - 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 key
        system - the system
        Returns:
        the actual resource
      • buildJsonString

        public static java.lang.String buildJsonString​(java.lang.String fileName,
                                                       java.lang.String jsonInput)
                                                throws java.lang.Exception
        Build json string string.
        Parameters:
        fileName - the file name
        jsonInput - the json input
        Returns:
        the string
        Throws:
        java.lang.Exception - the exception