Class JobCancellationMessageParameters
java.lang.Object
org.apache.flink.runtime.rest.messages.MessageParameters
org.apache.flink.runtime.rest.messages.JobCancellationMessageParameters
Parameters for job related REST handlers.
A job related REST handler always requires a JobIDPathParameter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the collection ofMessagePathParameterthat the request supports.Returns the collection ofMessageQueryParameterthat the request supports.resolveJobId(org.apache.flink.api.common.JobID jobId) resolveTerminationMode(TerminationModeQueryParameter.TerminationMode terminationMode) Methods inherited from class org.apache.flink.runtime.rest.messages.MessageParameters
isResolved, resolveUrl
-
Constructor Details
-
JobCancellationMessageParameters
public JobCancellationMessageParameters()
-
-
Method Details
-
getPathParameters
Description copied from class:MessageParametersReturns the collection ofMessagePathParameterthat the request supports. The collection should not be modifiable.- Specified by:
getPathParametersin classMessageParameters- Returns:
- collection of all supported message path parameters
-
getQueryParameters
Description copied from class:MessageParametersReturns the collection ofMessageQueryParameterthat the request supports. The collection should not be modifiable.- Specified by:
getQueryParametersin classMessageParameters- Returns:
- collection of all supported message query parameters
-
resolveJobId
-
resolveTerminationMode
public JobCancellationMessageParameters resolveTerminationMode(TerminationModeQueryParameter.TerminationMode terminationMode)
-