org.crsh.cli.impl.parser
Class Event.Argument

java.lang.Object
  extended by org.crsh.cli.impl.parser.Event
      extended by org.crsh.cli.impl.parser.Event.Parameter<Token.Literal,ArgumentDescriptor>
          extended by org.crsh.cli.impl.parser.Event.Argument
Enclosing class:
Event

public static final class Event.Argument
extends Event.Parameter<Token.Literal,ArgumentDescriptor>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.crsh.cli.impl.parser.Event
Event.Argument, Event.Option, Event.Parameter<T extends Token.Literal,D extends ParameterDescriptor>, Event.Separator, Event.Stop, Event.Subordinate
 
Field Summary
 
Fields inherited from class org.crsh.cli.impl.parser.Event.Parameter
command, parameter, values
 
Constructor Summary
Event.Argument(CommandDescriptor<?> command, ArgumentDescriptor descriptor, List<Token.Literal> values)
           
 
Method Summary
 int getFrom()
           
 int getTo()
           
 
Methods inherited from class org.crsh.cli.impl.parser.Event.Parameter
getCommand, getParameter, getStrings, getValues, peekFirst, peekLast, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event.Argument

Event.Argument(CommandDescriptor<?> command,
               ArgumentDescriptor descriptor,
               List<Token.Literal> values)
         throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getFrom

public int getFrom()
Specified by:
getFrom in class Event.Parameter<Token.Literal,ArgumentDescriptor>

getTo

public int getTo()
Specified by:
getTo in class Event.Parameter<Token.Literal,ArgumentDescriptor>


Copyright © 2014 eXo Platform SAS. All Rights Reserved.