Search in sources :

Example 1 with OperationRequestCompleter

use of org.jboss.as.cli.operation.OperationRequestCompleter in project wildfly-core by wildfly.

the class AbstractAddressCompleterTest method init.

protected void init() {
    ctx = new MockCommandContext();
    ctx.setOperationCandidatesProvider(new MockOperationCandidatesProvider(root));
    completer = new OperationRequestCompleter();
}
Also used : MockOperationCandidatesProvider(org.jboss.as.cli.completion.mock.MockOperationCandidatesProvider) MockCommandContext(org.jboss.as.cli.completion.mock.MockCommandContext) OperationRequestCompleter(org.jboss.as.cli.operation.OperationRequestCompleter)

Aggregations

MockCommandContext (org.jboss.as.cli.completion.mock.MockCommandContext)1 MockOperationCandidatesProvider (org.jboss.as.cli.completion.mock.MockOperationCandidatesProvider)1 OperationRequestCompleter (org.jboss.as.cli.operation.OperationRequestCompleter)1