Modifier and Type | Class and Description |
---|---|
static class |
Options.Flag |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
bootcp
Fabric runtime classpath for linking dynamically compiled code
|
java.lang.String |
codeCache
Directory for caching dynamically compiled code
|
static boolean |
DEBUG_NO_SSL
Whether to turn off SSL encryption for debugging purposes.
|
java.lang.String |
filsigcp
FabIL signature path for dynamically compiled code
|
boolean |
outputToLocalFS
Flag for indicating if worker needs to cache compiled code in local file system
|
java.lang.String |
sigcp
Fabric signature path for dynamically compiled code
|
Modifier | Constructor and Description |
---|---|
protected |
Options() |
protected |
Options(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected int |
defaultHandler(java.lang.String[] args,
int index)
Handles an argument that doesn't match any known flag.
|
void |
parseCommandLine(java.lang.String[] args) |
protected abstract void |
populateFlags(java.util.Set<Options.Flag> flags) |
protected abstract void |
setDefaultValues() |
void |
usage(java.io.PrintStream out,
boolean showSecretMenu) |
protected abstract void |
usageHeader(java.io.PrintStream out)
Prints a header for the usage message to the given output.
|
protected abstract void |
validateOptions() |
public java.lang.String bootcp
public java.lang.String sigcp
public java.lang.String filsigcp
public java.lang.String codeCache
public boolean outputToLocalFS
public static boolean DEBUG_NO_SSL
protected Options()
protected Options(java.lang.String[] args) throws UsageError
UsageError
protected abstract void populateFlags(java.util.Set<Options.Flag> flags)
protected abstract void setDefaultValues()
protected abstract void validateOptions() throws UsageError
UsageError
protected int defaultHandler(java.lang.String[] args, int index) throws UsageError
args
- Arguments from the command line.index
- The index of the argument following the usage flag.UsageError
- If an error occurs while handling the usage flag.public final void parseCommandLine(java.lang.String[] args) throws UsageError
UsageError
public void usage(java.io.PrintStream out, boolean showSecretMenu)
protected abstract void usageHeader(java.io.PrintStream out)