public abstract class AbstractQueryCommand extends AbstractCommand
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractQueryCommand.OutputFormat
Enum with values for `--output-format` CLI parameter
|
static class |
AbstractQueryCommand.SortOutputFormat
Sort Output format.
|
protected static class |
AbstractQueryCommand.WhichQueryCommand
Which of *query commands was invoked
|
Modifier and Type | Field and Description |
---|---|
protected List<String> |
arguments |
protected boolean |
generateJsonOutput
Deprecated.
|
protected AbstractQueryCommand.OutputFormat |
outputFormat |
commandArgsFile
Constructor and Description |
---|
AbstractQueryCommand() |
Modifier and Type | Method and Description |
---|---|
static Set<QueryBuildTarget> |
asQueryBuildTargets(Set<? extends QueryTarget> set) |
static String |
getEscapedArgumentsListAsString(List<String> arguments) |
boolean |
isReadOnly() |
protected boolean |
shouldOutputAttributes() |
protected abstract AbstractQueryCommand.WhichQueryCommand |
whichQueryCommand() |
addCommandSpecificConfigOverrides, convertArgumentsToBuildTargets, createParsingContext, getCommandArgsFile, getCommandLineBuildTargetNormalizer, getConcurrencyLimit, getConfigOverrides, getEnableParserProfiling, getEventListeners, getEventsOutputPath, getExcludeIncompatibleTargets, getExecutionContext, getExecutionContextBuilder, getHostPlatform, getLogConfig, getTargetPlatforms, handleException, handleException, isNoCache, isReuseCurrentConfig, isSourceControlStatsGatheringEnabled, matchBuildTargetsWithLabelsFromSpecs, performsBuild, prepareExecutionContext, printUsage, printWarning, printWarning, run, runHelp, runWithoutHelp
getPluginManager, setPluginManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getShortDescription
@Deprecated protected boolean generateJsonOutput
protected AbstractQueryCommand.OutputFormat outputFormat
protected abstract AbstractQueryCommand.WhichQueryCommand whichQueryCommand()
protected boolean shouldOutputAttributes()
public static Set<QueryBuildTarget> asQueryBuildTargets(Set<? extends QueryTarget> set)
QueryBuildTarget
s or throw IllegalArgumentException
public boolean isReadOnly()