org.crsh.cmdline.matcher.impl
Class Event.Option

java.lang.Object
  extended by org.crsh.cmdline.matcher.impl.Event
      extended by org.crsh.cmdline.matcher.impl.Event.Parameter<org.crsh.cmdline.matcher.impl.Token.Literal.Word,OptionDescriptor<?>>
          extended by org.crsh.cmdline.matcher.impl.Event.Option
Enclosing class:
Event

public static final class Event.Option
extends Event.Parameter<org.crsh.cmdline.matcher.impl.Token.Literal.Word,OptionDescriptor<?>>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.crsh.cmdline.matcher.impl.Event
Event.Argument, Event.Method, Event.Option, Event.Parameter<T extends org.crsh.cmdline.matcher.impl.Token.Literal,D extends ParameterDescriptor<?>>, Event.Separator, Event.Stop
 
Field Summary
 
Fields inherited from class org.crsh.cmdline.matcher.impl.Event.Parameter
descriptor, values
 
Method Summary
 int getFrom()
           
 int getTo()
           
 org.crsh.cmdline.matcher.impl.Token.Literal.Option getToken()
           
 
Methods inherited from class org.crsh.cmdline.matcher.impl.Event.Parameter
getDescriptor, getStrings, getValues, peekFirst, peekLast, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getToken

public final org.crsh.cmdline.matcher.impl.Token.Literal.Option getToken()

getFrom

public int getFrom()
Specified by:
getFrom in class Event.Parameter<org.crsh.cmdline.matcher.impl.Token.Literal.Word,OptionDescriptor<?>>

getTo

public int getTo()
Specified by:
getTo in class Event.Parameter<org.crsh.cmdline.matcher.impl.Token.Literal.Word,OptionDescriptor<?>>


Copyright © 2011 eXo Platform SAS. All Rights Reserved.