Class DefaultCLI

    • Constructor Detail

      • DefaultCLI

        public DefaultCLI()
    • Method Detail

      • isActive

        public boolean isActive​(org.apache.commons.cli.CommandLine commandLine)
        Description copied from interface: CustomCommandLine
        Signals whether the custom command-line wants to execute or not.
        Parameters:
        commandLine - The command-line options
        Returns:
        True if the command-line wants to run, False otherwise
      • toConfiguration

        public org.apache.flink.configuration.Configuration toConfiguration​(org.apache.commons.cli.CommandLine commandLine)
                                                                     throws org.apache.flink.util.FlinkException
        Description copied from interface: CustomCommandLine
        Materializes the command line arguments in the given CommandLine to a Configuration and returns it.
        Specified by:
        toConfiguration in interface CustomCommandLine
        Overrides:
        toConfiguration in class AbstractCustomCommandLine
        Throws:
        org.apache.flink.util.FlinkException
      • getId

        public String getId()
        Description copied from interface: CustomCommandLine
        Gets the unique identifier of this CustomCommandLine.
        Returns:
        A unique identifier