Package | Description |
---|---|
org.apache.reef.tang |
Public interfaces and factories for Tang's core API.
|
org.apache.reef.tang.formats |
Tang format classes encode and decode information that Tang gathers at
runtime.
|
org.apache.reef.tang.implementation |
Tang's implementation.
|
org.apache.reef.tang.implementation.java |
Private implementation classes that configure and inject code written
in Java.
|
org.apache.reef.tang.implementation.types |
Implementations of the ClassHierarchy type system.
|
org.apache.reef.tang.util |
Utilities for Tang.
|
org.apache.reef.tang.util.walk |
Utility classes for configuration graph and injection plan traversal.
|
org.apache.reef.tang.util.walk.graphviz |
produce Graphviz representation of TANG configuration graph and injection plan.
|
Modifier and Type | Method and Description |
---|---|
Set<NamedParameterNode<List<?>>> |
Configuration.getBoundLists() |
Set<NamedParameterNode<Set<?>>> |
Configuration.getBoundSets() |
Set<NamedParameterNode<?>> |
Configuration.getNamedParameters() |
Modifier and Type | Method and Description |
---|---|
<T> void |
ConfigurationBuilder.bindList(NamedParameterNode<List<T>> iface,
List implList)
Bind an list of implementations(Class or String) to an given NamedParameter.
|
<T> void |
ConfigurationBuilder.bindSetEntry(NamedParameterNode<Set<T>> iface,
Node impl) |
<T> void |
ConfigurationBuilder.bindSetEntry(NamedParameterNode<Set<T>> iface,
String impl) |
List<Object> |
Configuration.getBoundList(NamedParameterNode<List<?>> np)
Get the list bound to a given NamedParameterNode.
|
Set<Object> |
Configuration.getBoundSet(NamedParameterNode<Set<?>> np)
Obtain the set of class hierarchy nodes or strings that were bound to a given NamedParameterNode.
|
String |
Configuration.getNamedParameter(NamedParameterNode<?> np)
Return the value of the given named parameter as an unparsed string.
|
<T> T |
JavaClassHierarchy.parse(NamedParameterNode<T> name,
String value)
Parse a string value that has been passed into a named parameter.
|
<T> T |
JavaClassHierarchy.parseDefaultValue(NamedParameterNode<T> name)
Obtain a parsed instance of the default value of a named parameter.
|
Modifier and Type | Method and Description |
---|---|
Set<NamedParameterNode<?>> |
ConfigurationModule.getBoundNamedParameters() |
Modifier and Type | Method and Description |
---|---|
Set<NamedParameterNode<List<?>>> |
ConfigurationImpl.getBoundLists() |
Set<NamedParameterNode<Set<?>>> |
ConfigurationImpl.getBoundSets() |
Set<NamedParameterNode<?>> |
ConfigurationImpl.getNamedParameters() |
Modifier and Type | Method and Description |
---|---|
<T> void |
ConfigurationBuilderImpl.bindList(NamedParameterNode<List<T>> iface,
List implList) |
<T> void |
ConfigurationBuilderImpl.bindParameter(NamedParameterNode<T> name,
String value) |
<T> void |
ConfigurationBuilderImpl.bindSetEntry(NamedParameterNode<Set<T>> iface,
Node impl) |
<T> void |
ConfigurationBuilderImpl.bindSetEntry(NamedParameterNode<Set<T>> iface,
String impl) |
List<Object> |
ConfigurationImpl.getBoundList(NamedParameterNode<List<?>> np) |
Set<Object> |
ConfigurationImpl.getBoundSet(NamedParameterNode<Set<?>> np) |
String |
ConfigurationImpl.getNamedParameter(NamedParameterNode<?> np) |
Modifier and Type | Method and Description |
---|---|
static <T> NamedParameterNode<T> |
JavaNodeFactory.createNamedParameterNode(Node parent,
Class<? extends Name<T>> clazz,
Type argClass)
XXX: This method assumes that all generic types have exactly one type parameter.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ClassHierarchyImpl.parse(NamedParameterNode<T> np,
String value)
Parse a string, assuming that it is of the type expected by a given NamedParameter.
|
<T> T |
ClassHierarchyImpl.parseDefaultValue(NamedParameterNode<T> name)
A helper method that returns the parsed default value of a given
NamedParameter.
|
Modifier and Type | Class and Description |
---|---|
class |
NamedParameterNodeImpl<T> |
Modifier and Type | Method and Description |
---|---|
Set<NamedParameterNode<?>> |
Tint.getNames() |
Modifier and Type | Method and Description |
---|---|
String |
Tint.toHtmlString(NamedParameterNode<?> n,
String pack) |
String |
Tint.toString(NamedParameterNode<?> n) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
AbstractClassHierarchyNodeVisitor.visit(NamedParameterNode<?> node)
Process current configuration node of NamedParameterNode type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GraphvizConfigVisitor.visit(NamedParameterNode<?> node)
Process current configuration node for the named parameter.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.