Class JobIDPathParameter
java.lang.Object
org.apache.flink.runtime.rest.messages.MessageParameter<X>
org.apache.flink.runtime.rest.messages.MessagePathParameter<org.apache.flink.api.common.JobID>
org.apache.flink.runtime.rest.messages.JobIDPathParameter
Path parameter identifying jobs.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
MessageParameter.MessageParameterRequisiteness -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.flink.api.common.JobIDconvertFromString(String value) Converts the given string to a valid value of this parameter.protected StringconvertToString(org.apache.flink.api.common.JobID value) Converts the given value to its string representation.Returns a description for REST API HTML documentation.Methods inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
getKey, getValue, isMandatory, isResolved, resolve, resolveFromString
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
JobIDPathParameter
public JobIDPathParameter()
-
-
Method Details
-
convertFromString
Description copied from class:MessageParameterConverts the given string to a valid value of this parameter.- Specified by:
convertFromStringin classMessageParameter<org.apache.flink.api.common.JobID>- Parameters:
value- string representation of parameter value- Returns:
- parameter value
-
convertToString
Description copied from class:MessageParameterConverts the given value to its string representation.- Specified by:
convertToStringin classMessageParameter<org.apache.flink.api.common.JobID>- Parameters:
value- parameter value- Returns:
- string representation of typed value
-
getDescription
Description copied from class:MessageParameterReturns a description for REST API HTML documentation.- Specified by:
getDescriptionin classMessageParameter<org.apache.flink.api.common.JobID>- Returns:
- escaped HTML string
-