Class SelectValuesHelper

java.lang.Object
org.pentaho.di.trans.step.BaseStepHelper
org.pentaho.di.trans.steps.selectvalues.SelectValuesHelper
All Implemented Interfaces:
StepHelperInterface

public class SelectValuesHelper extends BaseStepHelper
  • Constructor Details

    • SelectValuesHelper

      public SelectValuesHelper()
  • Method Details

    • handleStepAction

      protected org.json.simple.JSONObject handleStepAction(String method, TransMeta transMeta, Map<String,String> queryParams)
      Handles step-specific actions for SelectValues.
      Specified by:
      handleStepAction in class BaseStepHelper
      Parameters:
      method - The name of the method to execute.
      transMeta - The transformation metadata associated with the step.
      queryParams - A map of query parameters for the action.
      Returns:
      A JSON object containing the action status and any additional response data.
    • getLocales

      public org.json.simple.JSONObject getLocales()
      Retrieves the list of available locales and returns them as a JSON object.
      Returns:
      A JSON object containing the list of locales.
    • getTimezones

      public org.json.simple.JSONObject getTimezones()
      Retrieves the list of available time zones and returns them as a JSON object.
      Returns:
      A JSON object containing the list of time zones.
    • getEncodings

      public org.json.simple.JSONObject getEncodings()
      Retrieves the list of available character encodings and returns them as a JSON object.
      Returns:
      A JSON object containing the list of character encodings.
    • getCharsets

      public String[] getCharsets()
      Retrieves the list of available character sets.
      Returns:
      An array of character set display names.