public class StopWithSavepointRequestBody extends Object implements RequestBody
RequestBody
for stopping a job with a savepoint.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_FORMAT_TYPE |
static String |
FIELD_NAME_TARGET_DIRECTORY |
Constructor and Description |
---|
StopWithSavepointRequestBody(String targetDirectory,
Boolean drain,
SavepointFormatType formatType,
TriggerId triggerId) |
Modifier and Type | Method and Description |
---|---|
SavepointFormatType |
getFormatType() |
Optional<String> |
getTargetDirectory() |
Optional<TriggerId> |
getTriggerId() |
boolean |
shouldDrain() |
public static final String FIELD_NAME_TARGET_DIRECTORY
public static final String FIELD_NAME_FORMAT_TYPE
public boolean shouldDrain()
public SavepointFormatType getFormatType()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.