org.crsh.cli.impl
Class ParameterType<V>
java.lang.Object
org.crsh.cli.impl.ParameterType<V>
-
public final class ParameterType<V>
- extends Object
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
multiplicity
private final Multiplicity multiplicity
-
.
declaredType
private final Class<?> declaredType
-
.
effectiveType
private final Class<V> effectiveType
-
.
valueType
private final ValueType<V> valueType
-
.
ParameterType
ParameterType(Multiplicity multiplicity,
Class<?> declaredType,
Class<V> effectiveType,
ValueType<V> valueType)
create
public static ParameterType create(ValueTypeFactory factory,
Type type)
throws IllegalValueTypeException
-
- Throws:
IllegalValueTypeException
parse
public Object parse(String s)
throws Exception
-
- Throws:
Exception
getMultiplicity
public Multiplicity getMultiplicity()
-
getDeclaredType
public Class<?> getDeclaredType()
-
getEffectiveType
public Class<V> getEffectiveType()
-
getValueType
public ValueType<V> getValueType()
-
Copyright © 2015 eXo Platform SAS. All Rights Reserved.