Class PropertyListCommand
- java.lang.Object
-
- org.apache.ignite.internal.management.property.PropertyListCommand
-
- All Implemented Interfaces:
Command<PropertyListCommandArg,PropertiesListResult>,ComputeCommand<PropertyListCommandArg,PropertiesListResult>
public class PropertyListCommand extends Object implements ComputeCommand<PropertyListCommandArg,PropertiesListResult>
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.management.api.Command
CMD_NAME_POSTFIX
-
-
Constructor Summary
Constructors Constructor Description PropertyListCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<PropertyListCommandArg>argClass()Stringdescription()Command description.voidprintResult(PropertyListCommandArg arg, PropertiesListResult res, Consumer<String> printer)Prints command result to the user.Class<PropertiesListTask>taskClass()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.management.api.Command
confirmationPrompt, deprecationMessage
-
Methods inherited from interface org.apache.ignite.internal.management.api.ComputeCommand
handleException, nodes
-
-
-
-
Method Detail
-
description
public String description()
Command description.- Specified by:
descriptionin interfaceCommand<PropertyListCommandArg,PropertiesListResult>
-
argClass
public Class<PropertyListCommandArg> argClass()
- Specified by:
argClassin interfaceCommand<PropertyListCommandArg,PropertiesListResult>- Returns:
- Arguments class.
-
taskClass
public Class<PropertiesListTask> taskClass()
- Specified by:
taskClassin interfaceComputeCommand<PropertyListCommandArg,PropertiesListResult>- Returns:
- Task class.
-
printResult
public void printResult(PropertyListCommandArg arg, PropertiesListResult res, Consumer<String> printer)
Prints command result to the user.- Specified by:
printResultin interfaceComputeCommand<PropertyListCommandArg,PropertiesListResult>- Parameters:
arg- Argument.res- Result.printer- Implementation specific printer.
-
-