Index

A B C D E G I J L M N P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addNormalizedLine(String) - Method in class com.yahoo.config.codegen.NormalizedDefinition
 

B

BooleanLeaf(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode.BooleanLeaf
 
BuilderGenerator - Class in com.yahoo.config.codegen
 
BuilderGenerator() - Constructor for class com.yahoo.config.codegen.BuilderGenerator
 

C

checkDefaultValue(DefaultValue) - Method in class com.yahoo.config.codegen.LeafCNode
 
checkDefaultValue(DefaultValue) - Method in class com.yahoo.config.codegen.LeafCNode.EnumLeaf
 
checkMyName(String) - Method in class com.yahoo.config.codegen.CNode
 
children() - Method in class com.yahoo.config.codegen.InnerCNode
Access to children for testing
ClassBuilder - Interface in com.yahoo.config.codegen
 
className() - Method in class com.yahoo.config.codegen.JavaClassBuilder
 
CNode - Class in com.yahoo.config.codegen
Abstract superclass for all nodes representing a config definition.
CNode(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.CNode
 
CodegenRuntimeException - Exception in com.yahoo.config.codegen
This exception is thrown on internal errors.
CodegenRuntimeException(String) - Constructor for exception com.yahoo.config.codegen.CodegenRuntimeException
 
CodegenRuntimeException(String, Throwable) - Constructor for exception com.yahoo.config.codegen.CodegenRuntimeException
 
CodegenRuntimeException(Throwable) - Constructor for exception com.yahoo.config.codegen.CodegenRuntimeException
 
com.yahoo.config.codegen - package com.yahoo.config.codegen
 
ConfigGenerator - Class in com.yahoo.config.codegen
 
ConfigGenerator() - Constructor for class com.yahoo.config.codegen.ConfigGenerator
 
ConfiggenUtil - Class in com.yahoo.config.codegen
 
ConfiggenUtil() - Constructor for class com.yahoo.config.codegen.ConfiggenUtil
 
CppClassBuilder - Class in com.yahoo.config.codegen
This class autogenerates C++ code for the C++ config, based on a CNode tree given.
CppClassBuilder(CNode, NormalizedDefinition, File, String) - Constructor for class com.yahoo.config.codegen.CppClassBuilder
 
createClassName(String) - Static method in class com.yahoo.config.codegen.ConfiggenUtil
Create class name from def name
createConfigClasses() - Method in interface com.yahoo.config.codegen.ClassBuilder
Generate config class file(s).
createConfigClasses() - Method in class com.yahoo.config.codegen.CppClassBuilder
 
createConfigClasses() - Method in class com.yahoo.config.codegen.JavaClassBuilder
 

D

DEFAULT_PACKAGE_PREFIX - Static variable in class com.yahoo.config.codegen.DefParser
 
DefaultValue - Class in com.yahoo.config.codegen
An immutable class representing a default value of a config variable
DefaultValue() - Constructor for class com.yahoo.config.codegen.DefaultValue
Null value.
DefaultValue(String, DefLine.Type) - Constructor for class com.yahoo.config.codegen.DefaultValue
A default value with the given value and type.
DefLine - Class in com.yahoo.config.codegen
 
DefLine(String) - Constructor for class com.yahoo.config.codegen.DefLine
 
DefLine.Type - Class in com.yahoo.config.codegen
 
DefParser - Class in com.yahoo.config.codegen
This class generates a tree of CNodes from a .def file.
DefParser(String, Reader) - Constructor for class com.yahoo.config.codegen.DefParser
Creates a new parser for a .def file with the given name and that can be accessed by the given reader.
DoubleLeaf(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode.DoubleLeaf
 
dumpTree(CNode, String) - Static method in class com.yahoo.config.codegen.DefParser
For debugging - dump the tree from the given root to System.out.

E

EnumLeaf(InnerCNode, String, String[]) - Constructor for class com.yahoo.config.codegen.LeafCNode.EnumLeaf
 

G

generateContent(String, InnerCNode, boolean) - Static method in class com.yahoo.config.codegen.ConfigGenerator
 
generateMd5Sum() - Method in class com.yahoo.config.codegen.NormalizedDefinition
 
getBuilder(InnerCNode) - Static method in class com.yahoo.config.codegen.BuilderGenerator
 
getChild(String) - Method in class com.yahoo.config.codegen.CNode
 
getChild(String) - Method in class com.yahoo.config.codegen.InnerCNode
 
getChild(String) - Method in class com.yahoo.config.codegen.LeafCNode
 
getChildren() - Method in class com.yahoo.config.codegen.CNode
 
getChildren() - Method in class com.yahoo.config.codegen.InnerCNode
 
getChildren() - Method in class com.yahoo.config.codegen.LeafCNode
 
getComment() - Method in class com.yahoo.config.codegen.CNode
 
getCommentBlock(String) - Method in class com.yahoo.config.codegen.CNode
 
getConfigClass(String) - Method in class com.yahoo.config.codegen.JavaClassBuilder
 
getDefault() - Method in class com.yahoo.config.codegen.DefLine
 
getDefaultValue() - Method in class com.yahoo.config.codegen.LeafCNode
 
getDefMd5() - Method in class com.yahoo.config.codegen.NormalizedDefinition
 
getEnumArray() - Method in class com.yahoo.config.codegen.DefLine
 
getEnumArray() - Method in class com.yahoo.config.codegen.DefLine.Type
 
getEnumString() - Method in class com.yahoo.config.codegen.DefLine
 
getFullName() - Method in class com.yahoo.config.codegen.CNode
 
getLanguageForReservedWord(String) - Static method in class com.yahoo.config.codegen.ReservedWords
 
getLegalValues() - Method in class com.yahoo.config.codegen.LeafCNode.EnumLeaf
Returns this enum's legal values.
getMd5() - Method in class com.yahoo.config.codegen.CNode
 
getName() - Method in class com.yahoo.config.codegen.CNode
Returns the simple name of this node.
getName() - Method in class com.yahoo.config.codegen.DefLine
 
getName() - Method in class com.yahoo.config.codegen.DefLine.Type
 
getNamespace() - Method in class com.yahoo.config.codegen.CNode
 
getNormalizedContent() - Method in class com.yahoo.config.codegen.NormalizedDefinition
 
getNormalizedDefinition() - Method in class com.yahoo.config.codegen.DefParser
 
getPackage() - Method in class com.yahoo.config.codegen.CNode
 
getParent() - Method in class com.yahoo.config.codegen.CNode
 
getRange() - Method in class com.yahoo.config.codegen.DefLine
Currently (2012-03-05) not used.
getRestart() - Method in class com.yahoo.config.codegen.DefLine
 
getStringRepresentation() - Method in class com.yahoo.config.codegen.DefaultValue
Returns the string representation of this value.
getTree() - Method in class com.yahoo.config.codegen.DefParser
Parses the .def file upon the initial call.
getType() - Method in class com.yahoo.config.codegen.DefLine
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.BooleanLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.DoubleLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.EnumLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.FileLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.IntegerLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.LongLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.ModelLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.PathLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.ReferenceLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.StringLeaf
 
getType() - Method in class com.yahoo.config.codegen.LeafCNode.UrlLeaf
 
getValue() - Method in class com.yahoo.config.codegen.DefaultValue
Returns the toString of the default value.
getVersion() - Method in class com.yahoo.config.codegen.CNode
 

I

InnerCNode - Class in com.yahoo.config.codegen
Represents an inner node in the configuration tree.
InnerCNode(String) - Constructor for class com.yahoo.config.codegen.InnerCNode
Constructor for the root node.
IntegerLeaf(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode.IntegerLeaf
 
INTERNAL_PREFIX - Static variable in class com.yahoo.config.codegen.ReservedWords
 
isArray - Variable in class com.yahoo.config.codegen.CNode
 
isMap - Variable in class com.yahoo.config.codegen.CNode
 
isReservedWord(String) - Static method in class com.yahoo.config.codegen.ReservedWords
 

J

JavaClassBuilder - Class in com.yahoo.config.codegen
Builds one Java class based on the given CNode tree.
JavaClassBuilder(InnerCNode, NormalizedDefinition, File, String) - Constructor for class com.yahoo.config.codegen.JavaClassBuilder
 
javaPackage() - Method in class com.yahoo.config.codegen.JavaClassBuilder
 

L

LeafCNode - Class in com.yahoo.config.codegen
 
LeafCNode(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode
Constructor for the leaf nodes
LeafCNode.BooleanLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.DoubleLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.EnumLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.FileLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.IntegerLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.LongLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.ModelLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.NoClassLeafCNode - Class in com.yahoo.config.codegen
Superclass for leaf nodes that should not generate class.
LeafCNode.NoClassNoDefaultLeafCNode - Class in com.yahoo.config.codegen
Superclass for no-class leaf nodes that cannot have a default.
LeafCNode.PathLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.ReferenceLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.StringLeaf - Class in com.yahoo.config.codegen
 
LeafCNode.UrlLeaf - Class in com.yahoo.config.codegen
 
LongLeaf(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode.LongLeaf
 

M

main(String[]) - Static method in class com.yahoo.config.codegen.MakeConfig
 
makeConfig(MakeConfigProperties) - Static method in class com.yahoo.config.codegen.MakeConfig
 
MakeConfig - Class in com.yahoo.config.codegen
This class generates code for a config class from a given def-file.
MakeConfig(InnerCNode, NormalizedDefinition, MakeConfigProperties) - Constructor for class com.yahoo.config.codegen.MakeConfig
 
MakeConfigProperties - Class in com.yahoo.config.codegen
Encapsulates data extracted from system properties.
MakeConfigProperties(String, String, String, String, String, String, String) - Constructor for class com.yahoo.config.codegen.MakeConfigProperties
 

N

namespacePattern - Static variable in class com.yahoo.config.codegen.DefParser
 
needRestart() - Method in class com.yahoo.config.codegen.CNode
 
needRestart() - Method in class com.yahoo.config.codegen.InnerCNode
 
needRestart() - Method in class com.yahoo.config.codegen.LeafCNode
 
newInstance(DefLine.Type, InnerCNode, String) - Static method in class com.yahoo.config.codegen.LeafCNode
 
newInstance(DefLine.Type, InnerCNode, String, String) - Static method in class com.yahoo.config.codegen.LeafCNode
 
NoClassLeafCNode(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode.NoClassLeafCNode
 
NoClassNoDefaultLeafCNode(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode.NoClassNoDefaultLeafCNode
 
normalize(BufferedReader) - Method in class com.yahoo.config.codegen.NormalizedDefinition
 
normalize(String) - Static method in class com.yahoo.config.codegen.NormalizedDefinition
Normalizes a config definition line.
NormalizedDefinition - Class in com.yahoo.config.codegen
Does normalizing (removing comments, trimming whitespace etc.) and calculation of md5sum of config definitions
NormalizedDefinition() - Constructor for class com.yahoo.config.codegen.NormalizedDefinition
 

P

packagePattern - Static variable in class com.yahoo.config.codegen.DefParser
 
PropertyException - Exception in com.yahoo.config.codegen
 

R

ReservedWords - Class in com.yahoo.config.codegen
Reserved words that cannot be used as variable names in a config definition file.
ReservedWords() - Constructor for class com.yahoo.config.codegen.ReservedWords
 

S

setDefaultValue(DefaultValue) - Method in class com.yahoo.config.codegen.LeafCNode.NoClassNoDefaultLeafCNode
 
setDefaultValue(DefaultValue) - Method in class com.yahoo.config.codegen.LeafCNode
 
setEnumArray(String[]) - Method in class com.yahoo.config.codegen.DefLine.Type
 
setLeaf(String, DefLine, String) - Method in class com.yahoo.config.codegen.CNode
 
setLeaf(String, DefLine, String) - Method in class com.yahoo.config.codegen.InnerCNode
Adds a child to this node with the given type, name and value.
setLeaf(String, DefLine, String) - Method in class com.yahoo.config.codegen.LeafCNode
 
setValue(DefaultValue) - Method in class com.yahoo.config.codegen.LeafCNode
 
StringLeaf(InnerCNode, String) - Constructor for class com.yahoo.config.codegen.LeafCNode.StringLeaf
 
stripSpaces(String) - Static method in class com.yahoo.config.codegen.NormalizedDefinition
Replaces sequences of spaces with 1 space, unless inside quotes.

T

toBytes(String) - Static method in class com.yahoo.config.codegen.NormalizedDefinition
 
toString() - Method in class com.yahoo.config.codegen.CNode
 
toString() - Method in class com.yahoo.config.codegen.DefLine.Type
 
toString() - Method in class com.yahoo.config.codegen.NormalizedDefinition
 
Type() - Constructor for class com.yahoo.config.codegen.DefLine.Type
 
Type(String) - Constructor for class com.yahoo.config.codegen.DefLine.Type
 

V

versionPattern - Static variable in class com.yahoo.config.codegen.DefParser
 

W

writeSlimeConstructor(Writer, CNode, String, boolean) - Method in class com.yahoo.config.codegen.CppClassBuilder
 
writeSlimeDecoder(Writer, CNode, String, boolean) - Method in class com.yahoo.config.codegen.CppClassBuilder
 
writeSlimeEncoder(Writer, CNode, String, boolean) - Method in class com.yahoo.config.codegen.CppClassBuilder
 
A B C D E G I J L M N P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form