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
public class JarRunRequestBody extends JarRequestBody
RequestBodyfor running a jar.
-
-
Constructor Summary
Constructors Constructor Description JarRunRequestBody()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 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAllowNonRestoredState()org.apache.flink.core.execution.RecoveryClaimModegetRecoveryClaimMode()StringgetSavepointPath()booleanisDeprecatedRestoreModeHasValue()-
Methods inherited from class org.apache.flink.runtime.webmonitor.handlers.JarRequestBody
getEntryClassName, getFlinkConfiguration, getJobId, getParallelism, getProgramArgumentsList
-
-
-
-
Constructor Detail
-
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 Detail
-
getAllowNonRestoredState
@Nullable public Boolean getAllowNonRestoredState()
-
getSavepointPath
@Nullable public String getSavepointPath()
-
getRecoveryClaimMode
@Nullable public org.apache.flink.core.execution.RecoveryClaimMode getRecoveryClaimMode()
-
isDeprecatedRestoreModeHasValue
public boolean isDeprecatedRestoreModeHasValue()
-
-