org.crsh.cmdline.matcher
Class Matcher<T>

java.lang.Object
  extended by org.crsh.cmdline.matcher.Matcher<T>
Direct Known Subclasses:
MatcherImpl

public abstract class Matcher<T>
extends Object


Constructor Summary
Matcher()
           
 
Method Summary
abstract  CommandCompletion complete(Completer completer, String s)
           
 CommandCompletion complete(String s)
           
abstract  CommandMatch<T,?,?> match(String s)
           
abstract  CommandMatch<T,?,?> match(String name, Map<String,?> options, List<?> arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matcher

public Matcher()
Method Detail

complete

public final CommandCompletion complete(String s)
                                 throws CmdCompletionException
Throws:
CmdCompletionException

complete

public abstract CommandCompletion complete(Completer completer,
                                           String s)
                                    throws CmdCompletionException
Throws:
CmdCompletionException

match

public abstract CommandMatch<T,?,?> match(String s)

match

public abstract CommandMatch<T,?,?> match(String name,
                                          Map<String,?> options,
                                          List<?> arguments)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.