public static class Launcher.CommandLineContext.ConfigConsumer extends Object implements CommandLine.ArgumentsConsumer<Launcher.CommandLineContext>
| Constructor and Description |
|---|
ConfigConsumer() |
| Modifier and Type | Method and Description |
|---|---|
int |
consume(String[] args,
int index,
Launcher.CommandLineContext context)
Consume arguments starting at the given index, return the number of arguments consumed.
|
boolean |
matches(String arg,
Launcher.CommandLineContext context)
Return true if the given argument matches this consumer.
|
public boolean matches(String arg, Launcher.CommandLineContext context)
CommandLine.ArgumentsConsumermatches in interface CommandLine.ArgumentsConsumer<Launcher.CommandLineContext>public int consume(String[] args, int index, Launcher.CommandLineContext context)
CommandLine.ArgumentsConsumerconsume in interface CommandLine.ArgumentsConsumer<Launcher.CommandLineContext>Copyright © 2019. All rights reserved.