public class BuckCommand extends AbstractContainerCommand
commandArgsFile| Constructor and Description |
|---|
BuckCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getContainerCommandPrefix() |
String |
getShortDescription() |
Optional<Command> |
getSubcommand() |
String |
getSubCommandNameForLogging() |
boolean |
isReadOnly() |
boolean |
isSourceControlStatsGatheringEnabled() |
Optional<ExitCode> |
runHelp(PrintStream stream)
If the current command is a help command, run the action to print out the appropriate help
message.
|
createParsingContext, getConfigOverrides, getEventListeners, getHostPlatform, getLogConfig, getSubcommandsFieldName, getTargetPlatforms, performsBuild, printUsage, rungetPluginManager, setPluginManagerpublic Optional<ExitCode> runHelp(PrintStream stream)
CommandThis is an optimization to avoid initializing everything in CommandRunnerParams, in order to return help strings quickly.
runHelp in interface CommandrunHelp in class AbstractContainerCommandstream - stream to output the help text.public boolean isReadOnly()
public String getShortDescription()
protected String getContainerCommandPrefix()
getContainerCommandPrefix in class AbstractContainerCommandpublic Optional<Command> getSubcommand()
getSubcommand in class AbstractContainerCommandpublic String getSubCommandNameForLogging()
public boolean isSourceControlStatsGatheringEnabled()
isSourceControlStatsGatheringEnabled in interface CommandisSourceControlStatsGatheringEnabled in class AbstractContainerCommand