Class JarRunRequestBody
java.lang.Object
org.apache.flink.runtime.webmonitor.handlers.JarRequestBody
org.apache.flink.runtime.webmonitor.handlers.JarRunRequestBody
- All Implemented Interfaces:
org.apache.flink.runtime.rest.messages.RequestBody
RequestBody for running a jar.-
Constructor Summary
ConstructorsConstructorDescriptionJarRunRequestBody(String entryClassName, List<String> programArgumentsList, Integer parallelism, org.apache.flink.api.common.JobID jobId, Boolean allowNonRestoredState, String savepointPath, org.apache.flink.core.execution.RecoveryClaimMode recoveryClaimMode, Map<String, String> flinkConfiguration) Fallback constructor ONLY for tests.JarRunRequestBody(String entryClassName, List<String> programArgumentsList, Integer parallelism, org.apache.flink.api.common.JobID jobId, Boolean allowNonRestoredState, String savepointPath, org.apache.flink.core.execution.RecoveryClaimMode deprecatedRecoveryClaimMode, org.apache.flink.core.execution.RecoveryClaimMode recoveryClaimMode, Map<String, String> flinkConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.core.execution.RecoveryClaimModebooleanMethods inherited from class org.apache.flink.runtime.webmonitor.handlers.JarRequestBody
getEntryClassName, getFlinkConfiguration, getJobId, getParallelism, getProgramArgumentsList
-
Constructor Details
-
JarRunRequestBody
public JarRunRequestBody() -
JarRunRequestBody
@VisibleForTesting public JarRunRequestBody(@Nullable String entryClassName, @Nullable List<String> programArgumentsList, @Nullable Integer parallelism, @Nullable org.apache.flink.api.common.JobID jobId, @Nullable Boolean allowNonRestoredState, @Nullable String savepointPath, @Nullable org.apache.flink.core.execution.RecoveryClaimMode recoveryClaimMode, @Nullable Map<String, String> flinkConfiguration) Fallback constructor ONLY for tests. -
JarRunRequestBody
public JarRunRequestBody(@Nullable String entryClassName, @Nullable List<String> programArgumentsList, @Nullable Integer parallelism, @Nullable org.apache.flink.api.common.JobID jobId, @Nullable Boolean allowNonRestoredState, @Nullable String savepointPath, @Nullable org.apache.flink.core.execution.RecoveryClaimMode deprecatedRecoveryClaimMode, @Nullable org.apache.flink.core.execution.RecoveryClaimMode recoveryClaimMode, @Nullable Map<String, String> flinkConfiguration)
-
-
Method Details
-
getAllowNonRestoredState
-
getSavepointPath
-
getRecoveryClaimMode
@Nullable public org.apache.flink.core.execution.RecoveryClaimMode getRecoveryClaimMode() -
isDeprecatedRestoreModeHasValue
public boolean isDeprecatedRestoreModeHasValue()
-