org.crsh.cli.impl.lang
Class BoundOptionDescriptor

java.lang.Object
  extended by org.crsh.cli.descriptor.ParameterDescriptor
      extended by org.crsh.cli.descriptor.OptionDescriptor
          extended by org.crsh.cli.impl.lang.BoundOptionDescriptor
All Implemented Interfaces:
Binding

 class BoundOptionDescriptor
extends OptionDescriptor
implements Binding

Author:
Julien Viet

Field Summary
(package private)  Binding binding
          .
 
Constructor Summary
BoundOptionDescriptor(Binding binding, ParameterType<?> type, List<String> names, Description info, boolean required, boolean password, boolean unquote, Class<? extends Completer> completerType, Annotation annotation)
           
 
Method Summary
 void set(Object o, Object[] args, Object value)
           
 
Methods inherited from class org.crsh.cli.descriptor.OptionDescriptor
getArity, getNames, parse, printUsage, toString
 
Methods inherited from class org.crsh.cli.descriptor.ParameterDescriptor
getAnnotation, getCompleterType, getDeclaredType, getDescription, getMultiplicity, getType, getUsage, isMultiValued, isPassword, isRequired, isSingleValued, isUnquote, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

binding

final Binding binding
.

Constructor Detail

BoundOptionDescriptor

BoundOptionDescriptor(Binding binding,
                      ParameterType<?> type,
                      List<String> names,
                      Description info,
                      boolean required,
                      boolean password,
                      boolean unquote,
                      Class<? extends Completer> completerType,
                      Annotation annotation)
                throws IllegalValueTypeException,
                       IllegalParameterException
Throws:
IllegalValueTypeException
IllegalParameterException
Method Detail

set

public void set(Object o,
                Object[] args,
                Object value)
         throws InvocationException
Specified by:
set in interface Binding
Throws:
InvocationException


Copyright © 2015 eXo Platform SAS. All Rights Reserved.