Class RecorderUtils

java.lang.Object
de.hybris.platform.sap.core.jco.rec.RecorderUtils

public class RecorderUtils extends Object
Collection of final string definitions and methods that are used in the JCoRecorder.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Separator for function-keys used by the Recorder to identify different executions of the same function.
    static final String
    Separator for record names when retrieving a record from inside a function.
    functionName#parameterType#recordName where parameterType equals INPUT, OUTPUT, CHANGING or TABLES.
    static final String
    The absolute path where to find the validation xsd schema-file.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getFunctionKey(String name, int count)
    Generates the functionKey for the given functionName and the given counter-value.
    static String
    Concatenates the folder of the extension that contains the schema file with the relative path to the schema file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SCHEMA_FILE_RELATIVE_PATH

      public static final String SCHEMA_FILE_RELATIVE_PATH
      The absolute path where to find the validation xsd schema-file.
      See Also:
    • FUNCTIONKEY_SEPERATOR

      public static final String FUNCTIONKEY_SEPERATOR
      Separator for function-keys used by the Recorder to identify different executions of the same function.
      See Also:
    • RECORDNAME_SEPERATOR

      public static final String RECORDNAME_SEPERATOR
      Separator for record names when retrieving a record from inside a function.
      functionName#parameterType#recordName where parameterType equals INPUT, OUTPUT, CHANGING or TABLES.
      See Also:
  • Method Details

    • getFunctionKey

      public static String getFunctionKey(String name, int count)
      Generates the functionKey for the given functionName and the given counter-value.
      Parameters:
      name - of the function.
      count - executionCounter of the function.
      Returns:
      Returns 'name::count'.
    • getSchemaFilePath

      public static String getSchemaFilePath()
      Concatenates the folder of the extension that contains the schema file with the relative path to the schema file.
      Returns:
      Returns the concatenation.