Class StandaloneApplicationClusterConfigurationParserFactory

  • All Implemented Interfaces:
    ParserResultFactory<org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration>

    public class StandaloneApplicationClusterConfigurationParserFactory
    extends Object
    implements ParserResultFactory<org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration>
    Parser factory which generates a StandaloneApplicationClusterConfiguration from a given list of command line arguments.
    • Constructor Detail

      • StandaloneApplicationClusterConfigurationParserFactory

        public StandaloneApplicationClusterConfigurationParserFactory()
    • Method Detail

      • getOptions

        public org.apache.commons.cli.Options getOptions()
        Description copied from interface: ParserResultFactory
        Returns all relevant Options for parsing the command line arguments.
        Specified by:
        getOptions in interface ParserResultFactory<org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration>
        Returns:
        Options to use for the parsing
      • createResult

        public org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration createResult​(@Nonnull
                                                                                                            org.apache.commons.cli.CommandLine commandLine)
                                                                                                     throws FlinkParseException
        Description copied from interface: ParserResultFactory
        Create the result of the command line argument parsing.
        Specified by:
        createResult in interface ParserResultFactory<org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration>
        Parameters:
        commandLine - to extract the options from
        Returns:
        Result of the parsing
        Throws:
        FlinkParseException - Thrown on failures while parsing command line arguments