Class JarRunRequestBody

  • All Implemented Interfaces:
    org.apache.flink.runtime.rest.messages.RequestBody

    public class JarRunRequestBody
    extends JarRequestBody
    RequestBody for running a jar.
    • 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()