Class ProgramOptions


  • public class ProgramOptions
    extends CommandLineOptions
    Base class for command line options that refer to a JAR file program.
    • Field Detail

      • entryPointClass

        protected String entryPointClass
    • Method Detail

      • extractProgramArgs

        protected String[] extractProgramArgs​(org.apache.commons.cli.CommandLine line)
      • getJarFilePath

        public String getJarFilePath()
      • getEntryPointClassName

        public String getEntryPointClassName()
      • getClasspaths

        public List<URL> getClasspaths()
      • getProgramArgs

        public String[] getProgramArgs()
      • getParallelism

        public int getParallelism()
      • getDetachedMode

        public boolean getDetachedMode()
      • isShutdownOnAttachedExit

        public boolean isShutdownOnAttachedExit()
      • getSavepointRestoreSettings

        public org.apache.flink.runtime.jobgraph.SavepointRestoreSettings getSavepointRestoreSettings()
      • applyToConfiguration

        public void applyToConfiguration​(org.apache.flink.configuration.Configuration configuration)