Interface JobContext


@API public interface JobContext
Since:
14 aug 2013
  • Method Details

    • getId

      String getId()
      Returns:
      The id of the job
      Since:
      2015.3.0
    • getGroupId

      String getGroupId()
      Returns:
      The id of the group the job belongs to
      Since:
      2015.3.0
    • getParamNames

      Iterator<String> getParamNames()
      Returns:
      An iterator over the parameter names (argument names)
      Since:
      2015.3.0
    • getValues

      String[] getValues(String name)
    • getValue

      String getValue(String name)
    • getIntValue

      Integer getIntValue(String name)
    • getDoubleValue

      Double getDoubleValue(String name)
    • getLongValue

      Long getLongValue(String name)
    • getBoolValue

      Boolean getBoolValue(String name)
    • toParamMap

      Map<String,String[]> toParamMap()
    • setResultMessage

      void setResultMessage(String resultMessage)
      Saves a message to be tracked along with the execution of the job.
      Parameters:
      resultMessage -
      Since:
      2018-10-03, 2018-10-03