org.crsh.cli.impl.completion
Class CommandCompletion<T>

java.lang.Object
  extended by org.crsh.cli.impl.completion.Completion
      extended by org.crsh.cli.impl.completion.CommandCompletion<T>

 class CommandCompletion<T>
extends Completion


Field Summary
private  Delimiter delimiter
          .
private  CommandDescriptor<T> descriptor
          .
private  String prefix
          .
 
Constructor Summary
CommandCompletion(CommandDescriptor<T> descriptor, String prefix, Delimiter delimiter)
           
 
Method Summary
 CompletionMatch complete()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptor

private final CommandDescriptor<T> descriptor
.


prefix

private final String prefix
.


delimiter

private final Delimiter delimiter
.

Constructor Detail

CommandCompletion

CommandCompletion(CommandDescriptor<T> descriptor,
                  String prefix,
                  Delimiter delimiter)
Method Detail

complete

public CompletionMatch complete()
                         throws CompletionException
Specified by:
complete in class Completion
Throws:
CompletionException


Copyright © 2015 eXo Platform SAS. All Rights Reserved.