public class ModuleOutputImpl extends java.lang.Object implements ModuleOutput
| Constructor and Description |
|---|
ModuleOutputImpl(ModuleOutputSpecImpl spec) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getValue(java.lang.String name) |
<T> void |
setReturnValue(java.lang.String name,
java.lang.Class<T> klass,
T value)
Sets the value of the parameter for the given name.
|
public ModuleOutputImpl(ModuleOutputSpecImpl spec)
public <T> void setReturnValue(java.lang.String name,
java.lang.Class<T> klass,
T value)
throws ModuleException
ModuleOutputsetReturnValue in interface ModuleOutputT - the type of the return valuename - name of the parameterklass - class of the parametervalue - the value of the parameterModuleException - When the wrong type for the return value is used compared to Module.provide(uniol.apt.module.ModuleOutputSpec).public java.lang.Object getValue(java.lang.String name)