public enum ProgramOptionsUtils extends Enum<ProgramOptionsUtils>
ProgramOptions.| Modifier and Type | Method and Description |
|---|---|
static void |
configurePythonExecution(org.apache.flink.configuration.Configuration configuration,
PackagedProgram packagedProgram) |
static boolean |
containsPythonDependencyOptions(org.apache.commons.cli.CommandLine line) |
static ProgramOptions |
createPythonProgramOptions(org.apache.commons.cli.CommandLine line) |
static boolean |
isPythonEntryPoint(org.apache.commons.cli.CommandLine line) |
static ProgramOptionsUtils |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgramOptionsUtils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ProgramOptionsUtils[] values()
for (ProgramOptionsUtils c : ProgramOptionsUtils.values()) System.out.println(c);
public static ProgramOptionsUtils valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static boolean isPythonEntryPoint(org.apache.commons.cli.CommandLine line)
public static boolean containsPythonDependencyOptions(org.apache.commons.cli.CommandLine line)
public static ProgramOptions createPythonProgramOptions(org.apache.commons.cli.CommandLine line) throws CliArgsException
CliArgsExceptionpublic static void configurePythonExecution(org.apache.flink.configuration.Configuration configuration,
PackagedProgram packagedProgram)
throws Exception
ExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.