public class JarLinkerOptions
extends <any>
JarLinkerOptions()
. #parse(String[],MessageReceiver)
has_[X]()
. get_[X]_[n]()
. get_[X]_[n](k)
. If anything went wrong in parsing, errors
have been sent to the MessageReceiver
.
Then further analysis methods can be applied (#getParsingProtocol()
, #getMissingOptions()
, #usage()
, etc.)
For further details. please see the
documentation of the methods inherited from the superclass Model
and the option
compiler's user documentation.
Here is the source text.
There have been description texts only in one language, namely en.
The usage()
method will show this screen:
====== USAGE: ====== --main ( string(="") )+ the name(s) of the main class(es) which define reachability. The very first will be the *main* class in the jars Manifest. --exclude ( string(="") )+ names of packages to exclude. --inputs ( uri(="") )+ the binary input sources in which to search (directories or jar files) --output uri(="") the path to the jar file to generate --debug int(=0) the verbosity --ressourceDirs ( uri(="") string(="") )* pair of source/target, where to move directories of ressources --manifest uri(="") base manifest file --seal boolean(=false) whether to seal all packages
Modifier and Type | Class and Description |
---|---|
class |
JarLinkerOptions.Descriptions
Programmatically generated catalog of translations.
|
class |
JarLinkerOptions.Values_exclude
One instance realizes one repeated argument group of option
exclude . |
class |
JarLinkerOptions.Values_inputs
One instance realizes one repeated argument group of option
inputs . |
class |
JarLinkerOptions.Values_main
One instance realizes one repeated argument group of option
main . |
class |
JarLinkerOptions.Values_ressourceDirs
One instance realizes one repeated argument group of option
ressourceDirs . |
Modifier and Type | Field and Description |
---|---|
protected boolean |
has_debug |
protected boolean |
has_exclude |
protected boolean |
has_inputs |
protected boolean |
has_main |
protected boolean |
has_manifest |
protected boolean |
has_output |
protected boolean |
has_ressourceDirs |
protected boolean |
has_seal |
protected List<JarLinkerOptions.Values_exclude> |
repvalues_exclude |
protected List<JarLinkerOptions.Values_inputs> |
repvalues_inputs |
protected List<JarLinkerOptions.Values_main> |
repvalues_main |
protected List<JarLinkerOptions.Values_ressourceDirs> |
repvalues_ressourceDirs |
Function<JarLinkerOptions.Values_exclude,String> |
serialize_exclude |
Function<JarLinkerOptions.Values_inputs,String> |
serialize_inputs |
Function<JarLinkerOptions.Values_main,String> |
serialize_main |
Function<JarLinkerOptions.Values_ressourceDirs,String> |
serialize_ressourceDirs |
protected int |
value_debug_0 |
protected String |
value_manifest_0 |
protected String |
value_output_0 |
protected boolean |
value_seal_0 |
Constructor and Description |
---|
JarLinkerOptions() |
Modifier and Type | Method and Description |
---|---|
protected void |
_finalCheck() |
String |
_getMissingOptions() |
String |
_getRedundantOptions() |
protected void |
checkActive() |
int |
get_debug_0()
Getter method for the only argument of option
debug . |
String |
get_exclude_0(int index)
Getter method for the only repeated argument of option
exclude . |
List<JarLinkerOptions.Values_exclude> |
get_exclude()
Getter method for all repetition groups of option
exclude . |
String |
get_inputs_0(int index)
Getter method for the only repeated argument of option
inputs . |
List<JarLinkerOptions.Values_inputs> |
get_inputs()
Getter method for all repetition groups of option
inputs . |
String |
get_main_0(int index)
Getter method for the only repeated argument of option
main . |
List<JarLinkerOptions.Values_main> |
get_main()
Getter method for all repetition groups of option
main . |
String |
get_manifest_0()
Getter method for the only argument of option
manifest . |
String |
get_output_0()
Getter method for the only argument of option
output . |
String |
get_ressourceDirs_0(int index)
Getter method for the 0th in a group of repeated arguments of option
ressourceDirs . |
String |
get_ressourceDirs_1(int index)
Getter method for the 1st in a group of repeated arguments of option
ressourceDirs . |
List<JarLinkerOptions.Values_ressourceDirs> |
get_ressourceDirs()
Getter method for all repetition groups of option
ressourceDirs . |
boolean |
get_seal_0()
Getter method for the only argument of option
seal . |
boolean |
has_debug()
Deprecated.
|
boolean |
has_exclude()
Deprecated.
|
boolean |
has_inputs()
Deprecated.
|
boolean |
has_main()
Deprecated.
|
boolean |
has_manifest()
Deprecated.
|
boolean |
has_output()
Deprecated.
|
boolean |
has_ressourceDirs()
Deprecated.
|
boolean |
has_seal()
Deprecated.
|
JarLinkerOptions |
makeDefaultInstance() |
protected int |
numberOfPositionals() |
protected void |
parseAbbrev(String select) |
protected void |
parseName(String select) |
protected void |
parsePositionals() |
String |
serialize() |
void |
usage_en()
Print usage information in the language 'en' on System.err.
|
void |
usage_en(PrintStream pr)
Print usage information in the language 'en'.
|
void |
usage(PrintStream pr)
Print usage information in the default language.
|
void |
usage(PrintStream pr,
String lang)
Print usage information in the requested language.
|
protected boolean has_main
protected List<JarLinkerOptions.Values_main> repvalues_main
public final Function<JarLinkerOptions.Values_main,String> serialize_main
protected boolean has_exclude
protected List<JarLinkerOptions.Values_exclude> repvalues_exclude
public final Function<JarLinkerOptions.Values_exclude,String> serialize_exclude
protected boolean has_inputs
protected List<JarLinkerOptions.Values_inputs> repvalues_inputs
public final Function<JarLinkerOptions.Values_inputs,String> serialize_inputs
protected boolean has_output
protected String value_output_0
protected boolean has_debug
protected int value_debug_0
protected boolean has_ressourceDirs
protected List<JarLinkerOptions.Values_ressourceDirs> repvalues_ressourceDirs
public final Function<JarLinkerOptions.Values_ressourceDirs,String> serialize_ressourceDirs
protected boolean has_manifest
protected String value_manifest_0
protected boolean has_seal
protected boolean value_seal_0
public JarLinkerOptions makeDefaultInstance()
protected void checkActive()
@Deprecated public boolean has_main()
get_main()
.public List<JarLinkerOptions.Values_main> get_main()
main
.
--main ( string(="") )+
public String get_main_0(int index)
main
.
For details of this option see the method get_main()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_exclude()
get_exclude()
.public List<JarLinkerOptions.Values_exclude> get_exclude()
exclude
.
--exclude ( string(="") )+
public String get_exclude_0(int index)
exclude
.
For details of this option see the method get_exclude()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_inputs()
get_inputs()
.public List<JarLinkerOptions.Values_inputs> get_inputs()
inputs
.
--inputs ( uri(="") )+
public String get_inputs_0(int index)
inputs
.
For details of this option see the method get_inputs()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_output()
get_output_0()
.public String get_output_0()
output
.
--output uri(="")
@Deprecated public boolean has_debug()
get_debug_0()
.public int get_debug_0()
debug
.
--debug int(=0)
@Deprecated public boolean has_ressourceDirs()
get_ressourceDirs()
.public List<JarLinkerOptions.Values_ressourceDirs> get_ressourceDirs()
ressourceDirs
.
--ressourceDirs ( uri(="") string(="") )*
public String get_ressourceDirs_0(int index)
ressourceDirs
.
For details of this option see the method get_ressourceDirs()
.index
- the index of the repetition group, zero based.public String get_ressourceDirs_1(int index)
ressourceDirs
.
For details of this option see the method get_ressourceDirs()
.index
- the index of the repetition group, zero based.@Deprecated public boolean has_manifest()
get_manifest_0()
.public String get_manifest_0()
manifest
.
--manifest uri(="")
@Deprecated public boolean has_seal()
get_seal_0()
.public boolean get_seal_0()
seal
.
--seal boolean(=false)
public String serialize()
public void usage(PrintStream pr)
public void usage(PrintStream pr, String lang)
public void usage_en()
public void usage_en(PrintStream pr)
protected void parseAbbrev(String select)
protected void parseName(String select)
protected int numberOfPositionals()
protected void parsePositionals()
protected void _finalCheck()
public String _getMissingOptions()
public String _getRedundantOptions()
see also the complete user documentation .