Package org.jboss.as.cli.impl
Class CommandCandidatesProvider
- java.lang.Object
-
- org.jboss.as.cli.impl.CommandCandidatesProvider
-
- All Implemented Interfaces:
OperationCandidatesProvider
public class CommandCandidatesProvider extends Object implements OperationCandidatesProvider
- Author:
- Alexey Loubyansky
-
-
Constructor Summary
Constructors Constructor Description CommandCandidatesProvider(CommandRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,OperationRequestHeader>getHeaders(CommandContext ctx)List<String>getNodeNames(CommandContext ctx, OperationRequestAddress prefix)List<String>getNodeTypes(CommandContext ctx, OperationRequestAddress prefix)List<String>getOperationNames(CommandContext ctx, OperationRequestAddress prefix)Collection<CommandArgument>getProperties(CommandContext ctx, String operationName, OperationRequestAddress address)
-
-
-
Constructor Detail
-
CommandCandidatesProvider
public CommandCandidatesProvider(CommandRegistry registry)
-
-
Method Detail
-
getNodeNames
public List<String> getNodeNames(CommandContext ctx, OperationRequestAddress prefix)
- Specified by:
getNodeNamesin interfaceOperationCandidatesProvider
-
getNodeTypes
public List<String> getNodeTypes(CommandContext ctx, OperationRequestAddress prefix)
- Specified by:
getNodeTypesin interfaceOperationCandidatesProvider
-
getOperationNames
public List<String> getOperationNames(CommandContext ctx, OperationRequestAddress prefix)
- Specified by:
getOperationNamesin interfaceOperationCandidatesProvider
-
getProperties
public Collection<CommandArgument> getProperties(CommandContext ctx, String operationName, OperationRequestAddress address)
- Specified by:
getPropertiesin interfaceOperationCandidatesProvider
-
getHeaders
public Map<String,OperationRequestHeader> getHeaders(CommandContext ctx)
- Specified by:
getHeadersin interfaceOperationCandidatesProvider
-
-