| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | Main.
Parser for subcommands which doesn't stop parsing on help options and so proceeds all specified options |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private ExecutorService | |
| private String | |
| private boolean | |
| private boolean | |
| private TextBuiltin | |
| private boolean | |
| pack-priv PrintWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv PrintWriter | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| private static void | |
| private static boolean | |
| public static void | |
| protected Repository | Returns: the repository to operate on.the aGitdir)--git-dir option given on the command line. May be
null if it was not supplied.Evaluate the |
| protected void |
| arguments | back to summary |
|---|---|
private List<String> arguments
| |
| gcExecutor | back to summary |
|---|---|
| private ExecutorService gcExecutor | |
| gitdir | back to summary |
|---|---|
private String gitdir
| |
| help | back to summary |
|---|---|
private boolean help
| |
| showStackTrace | back to summary |
|---|---|
private boolean showStackTrace
| |
| subcommand | back to summary |
|---|---|
private TextBuiltin subcommand
| |
| version | back to summary |
|---|---|
private boolean version
| |
| writer | back to summary |
|---|---|
| pack-priv PrintWriter writer | |
| Main | back to summary |
|---|---|
| public Main() Constructor for Main. | |
| configureHttpProxy | back to summary |
|---|---|
| pack-priv static void configureHttpProxy() throws MalformedURLException Configure the JRE's standard HTTP based on
The popular libcurl library honors the
| |
| createErrorWriter | back to summary |
|---|---|
| pack-priv PrintWriter createErrorWriter() | |
| execute | back to summary |
|---|---|
| private void execute(String[] argv) throws Exception | |
| exit | back to summary |
|---|---|
| pack-priv void exit(int status, Exception t) throws Exception | |
| init | back to summary |
|---|---|
| pack-priv void init(TextBuiltin cmd) throws IOException | |
| install | back to summary |
|---|---|
| private static void install(String name) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException | |
| installConsole | back to summary |
|---|---|
| private static boolean installConsole() | |
| main | back to summary |
|---|---|
| public static void main(String[] argv) throws Exception Execute the command line. | |
| openGitDir | back to summary |
|---|---|
| protected Repository openGitDir(String aGitdir) throws IOException Evaluate the
| |
| run | back to summary |
|---|---|
| protected void run(String[] argv) throws Exception Parse the command line and execute the requested action. Subclasses should allocate themselves and then invoke this method:
class ExtMain {
public static void main(String[] argv) {
new ExtMain().run(argv);
}
}
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | containsHelp(String...
non null args)Overrides org. Check if array contains help option |
| SubcommandLineParser | back to summary |
|---|---|
| public SubcommandLineParser(Object bean) | |
| containsHelp | back to summary |
|---|---|
| protected boolean containsHelp(String... args) Overrides org. Doc from org. Check if array contains help option | |