Package com.google.gwt.util.tools
Class ArgHandlerNoopDeprecatedFlag
java.lang.Object
com.google.gwt.util.tools.ArgHandler
com.google.gwt.util.tools.ArgHandlerNoopDeprecatedFlag
Argument handler for deprecated no-op flags.
-
Constructor Summary
ConstructorsConstructorDescriptionArgHandlerNoopDeprecatedFlag(int numberOfArgumentsToConsume, String... tags) ArgHandlerNoopDeprecatedFlag(String... tags) -
Method Summary
Modifier and TypeMethodDescriptiongetTag()String[]A list of words representing the arguments in help text.protected StringgetWarningMessage(String tag) intAttempts to process one flag or "extra" command-line argument (that appears without a flag).booleanMethods inherited from class com.google.gwt.util.tools.ArgHandler
getDefaultArgs, getHelpTag, getTags, isExperimental, isRequired
-
Constructor Details
-
ArgHandlerNoopDeprecatedFlag
-
ArgHandlerNoopDeprecatedFlag
-
-
Method Details
-
isUndocumented
public boolean isUndocumented()- Overrides:
isUndocumentedin classArgHandler
-
getPurpose
- Specified by:
getPurposein classArgHandler
-
getTag
- Specified by:
getTagin classArgHandler
-
getTagArgs
Description copied from class:ArgHandlerA list of words representing the arguments in help text.- Specified by:
getTagArgsin classArgHandler
-
handle
Description copied from class:ArgHandlerAttempts to process one flag or "extra" command-line argument (that appears without a flag).- Specified by:
handlein classArgHandler- Parameters:
args- the arguments passed in to main()startIndex- an index into args indicating the first argument to use. If this is a handler for a flag argument. Otherwise it's the index of the "extra" argument.- Returns:
- the number of additional arguments consumed, not including the flag or extra argument. Alternately, returns -1 if the argument cannot be used. This will causes the program to abort and usage to be displayed.
-
getWarningMessage
-