| 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.protobuf | 
 Implementation classes that translate between Tang's core API and protocol
 buffers. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
JavaClassHierarchy  | 
| Modifier and Type | Method and Description | 
|---|---|
ClassHierarchy | 
Configuration.getClassHierarchy()
Configuration objects are associated with the ClassHierarchy objects that were used during validation. 
 | 
ClassHierarchy | 
ConfigurationBuilder.getClassHierarchy()
Each ConfigurationBuilder instance is associated with a ClassHierarchy. 
 | 
ClassHierarchy | 
ClassHierarchy.merge(ClassHierarchy ch)
Merge the contents of this ClassHierarchy and the provided one into a new
 class hierarchy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ClassHierarchy | 
ClassHierarchy.merge(ClassHierarchy ch)
Merge the contents of this ClassHierarchy and the provided one into a new
 class hierarchy. 
 | 
ConfigurationBuilder | 
Tang.newConfigurationBuilder(ClassHierarchy ch)
Return a new ConfigurationBuilder that is backed by the provided
 ClassHierarchy object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Configuration | 
AvroConfigurationSerializer.fromAvro(AvroConfiguration avroConfiguration,
                ClassHierarchy classHierarchy)
Converts a given AvroConfiguration to Configuration 
 | 
Configuration | 
ConfigurationSerializer.fromByteArray(byte[] theBytes,
                          ClassHierarchy classHierarchy)
Loads a Configuration from a byte[] created with toByteArray(). 
 | 
Configuration | 
AvroConfigurationSerializer.fromByteArray(byte[] theBytes,
                          ClassHierarchy classHierarchy)  | 
Configuration | 
ConfigurationSerializer.fromFile(File file,
                ClassHierarchy classHierarchy)
Loads a Configuration from a File created with toFile(). 
 | 
Configuration | 
AvroConfigurationSerializer.fromFile(File file,
                ClassHierarchy classHierarchy)  | 
Configuration | 
ConfigurationSerializer.fromString(String theString,
                    ClassHierarchy classHierarchy)
Decodes a String generated via toString() 
 | 
Configuration | 
AvroConfigurationSerializer.fromString(String theString,
                    ClassHierarchy classHierarchy)  | 
Configuration | 
ConfigurationSerializer.fromTextFile(File file,
                        ClassHierarchy classHierarchy)
Loads a Configuration from a File created with toFile() with ClassHierarchy 
 | 
Configuration | 
AvroConfigurationSerializer.fromTextFile(File file,
                        ClassHierarchy classHierarchy)  | 
| Modifier and Type | Field and Description | 
|---|---|
ClassHierarchy | 
ConfigurationBuilderImpl.namespace  | 
| Modifier and Type | Method and Description | 
|---|---|
ClassHierarchy | 
ConfigurationBuilderImpl.getClassHierarchy()  | 
ClassHierarchy | 
ConfigurationImpl.getClassHierarchy()  | 
| Modifier and Type | Method and Description | 
|---|---|
ConfigurationBuilder | 
TangImpl.newConfigurationBuilder(ClassHierarchy ch)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ClassHierarchyImpl  | 
| Modifier and Type | Method and Description | 
|---|---|
ClassHierarchy | 
ClassHierarchyImpl.merge(ClassHierarchy ch)  | 
| Modifier and Type | Method and Description | 
|---|---|
ClassHierarchy | 
ClassHierarchyImpl.merge(ClassHierarchy ch)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ProtocolBufferClassHierarchy  | 
| Modifier and Type | Method and Description | 
|---|---|
static ClassHierarchy | 
ProtocolBufferClassHierarchy.deserialize(File file)
Deserialize a class hierarchy from a file. 
 | 
ClassHierarchy | 
ProtocolBufferClassHierarchy.merge(ClassHierarchy ch)  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> InjectionPlan<T> | 
ProtocolBufferInjectionPlan.deserialize(ClassHierarchy ch,
                      InjectionPlanProto.InjectionPlan ip)  | 
ClassHierarchy | 
ProtocolBufferClassHierarchy.merge(ClassHierarchy ch)  | 
static ClassHierarchyProto.Node | 
ProtocolBufferClassHierarchy.serialize(ClassHierarchy classHierarchy)
Serialize a class hierarchy into a protocol buffer object. 
 | 
static void | 
ProtocolBufferClassHierarchy.serialize(File file,
                  ClassHierarchy classHierarchy)
serialize a class hierarchy into a file 
 | 
Copyright © 2015 The Apache Software Foundation. All rights reserved.