org.crsh.cli.impl.lang
Class BoundArgumentDescriptor

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

 class BoundArgumentDescriptor
extends ArgumentDescriptor

    
implements Binding

    

Author:
Julien Viet

Field Summary
(package private)  Binding binding
          .
 
Constructor Summary
BoundArgumentDescriptor(Binding binding, String name, ParameterType<?> type, 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.ArgumentDescriptor
getName, 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

BoundArgumentDescriptor

BoundArgumentDescriptor(Binding binding,
                        String name,
                        ParameterType<?> type,
                        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.