Package org.jboss.as.cli.operation.impl
Class DefaultOperationCandidatesProvider
- java.lang.Object
-
- org.jboss.as.cli.operation.impl.DefaultOperationCandidatesProvider
-
- All Implemented Interfaces:
OperationCandidatesProvider
public class DefaultOperationCandidatesProvider extends Object implements OperationCandidatesProvider
- Author:
- Alexey Loubyansky
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultOperationCandidatesProvider.PropertyVisibilityClass that establishes completion visibility of a property.
-
Constructor Summary
Constructors Constructor Description DefaultOperationCandidatesProvider()
-
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)List<CommandArgument>getProperties(CommandContext ctx, String operationName, OperationRequestAddress address)protected List<CommandArgument>getPropertiesFromPropList(List<org.jboss.dmr.Property> propList, CommandContext ctx, String operationName, OperationRequestAddress address)
-
-
-
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 List<CommandArgument> getProperties(CommandContext ctx, String operationName, OperationRequestAddress address)
- Specified by:
getPropertiesin interfaceOperationCandidatesProvider
-
getPropertiesFromPropList
protected List<CommandArgument> getPropertiesFromPropList(List<org.jboss.dmr.Property> propList, CommandContext ctx, String operationName, OperationRequestAddress address)
-
getHeaders
public Map<String,OperationRequestHeader> getHeaders(CommandContext ctx)
- Specified by:
getHeadersin interfaceOperationCandidatesProvider
-
-