Interface JobContext
-
@API public interface JobContext
- Since:
- 14 aug 2013
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Boolean
getBoolValue(java.lang.String name)
java.lang.Double
getDoubleValue(java.lang.String name)
java.lang.String
getGroupId()
java.lang.String
getId()
java.lang.Integer
getIntValue(java.lang.String name)
java.lang.Long
getLongValue(java.lang.String name)
java.util.Iterator<java.lang.String>
getParamNames()
java.lang.String
getValue(java.lang.String name)
java.lang.String[]
getValues(java.lang.String name)
void
setResultMessage(java.lang.String resultMessage)
Saves a message to be tracked along with the execution of the job.java.util.Map<java.lang.String,java.lang.String[]>
toParamMap()
-
-
-
Method Detail
-
getId
java.lang.String getId()
- Returns:
- The id of the job
- Since:
- 2015.3.0
-
getGroupId
java.lang.String getGroupId()
- Returns:
- The id of the group the job belongs to
- Since:
- 2015.3.0
-
getParamNames
java.util.Iterator<java.lang.String> getParamNames()
- Returns:
- An iterator over the parameter names (argument names)
- Since:
- 2015.3.0
-
getValues
java.lang.String[] getValues(java.lang.String name)
-
getValue
java.lang.String getValue(java.lang.String name)
-
getIntValue
java.lang.Integer getIntValue(java.lang.String name)
-
getDoubleValue
java.lang.Double getDoubleValue(java.lang.String name)
-
getLongValue
java.lang.Long getLongValue(java.lang.String name)
-
getBoolValue
java.lang.Boolean getBoolValue(java.lang.String name)
-
toParamMap
java.util.Map<java.lang.String,java.lang.String[]> toParamMap()
-
setResultMessage
void setResultMessage(java.lang.String resultMessage)
Saves a message to be tracked along with the execution of the job.- Parameters:
resultMessage
-- Since:
- 2018-10-03, 2018-10-03
-
-