Class SavepointTriggerRequestBody
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.savepoints.SavepointTriggerRequestBody
-
- All Implemented Interfaces:
RequestBody
public class SavepointTriggerRequestBody extends Object implements RequestBody
RequestBody
to trigger savepoints.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_TARGET_DIRECTORY
-
Constructor Summary
Constructors Constructor Description SavepointTriggerRequestBody(String targetDirectory, Boolean cancelJob, SavepointFormatType formatType, TriggerId triggerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SavepointFormatType
getFormatType()
Optional<String>
getTargetDirectory()
Optional<TriggerId>
getTriggerId()
boolean
isCancelJob()
-
-
-
Field Detail
-
FIELD_NAME_TARGET_DIRECTORY
public static final String FIELD_NAME_TARGET_DIRECTORY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SavepointTriggerRequestBody
public SavepointTriggerRequestBody(@Nullable String targetDirectory, @Nullable Boolean cancelJob, @Nullable SavepointFormatType formatType, @Nullable TriggerId triggerId)
-
-
Method Detail
-
isCancelJob
public boolean isCancelJob()
-
getFormatType
public SavepointFormatType getFormatType()
-
-