|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Element | |
|---|---|
| org.quattor.pan.dml | Provides high-level interface and abstract classes for DML (data manipulation language) processing. |
| org.quattor.pan.dml.data | Provides data elements for the Data Manipulation Language (DML). |
| org.quattor.pan.dml.functions | Includes classes that implement all of the pan language build-in functions. |
| org.quattor.pan.dml.operators | Contains classes that implement all of the pan language operators. |
| org.quattor.pan.exceptions | Exceptions that can be generated at various stages in the machine profile processing. |
| org.quattor.pan.output | Implementation of output formatters for the generated machine profiles. |
| org.quattor.pan.statement | Provides classes that implement the core declarative statements of the pan language. |
| org.quattor.pan.tasks | Provides classes that implement parallel tasks within the compiler. |
| org.quattor.pan.template | Contains the classes that define the java implementation a pan template or classes related to them. |
| org.quattor.pan.type | Implements the pan type system. |
| org.quattor.pan.utils | Provides collection of useful utilities that don't fit neatly into other pan packages. |
| Uses of Element in org.quattor.pan.dml |
|---|
| Methods in org.quattor.pan.dml that return Element | |
|---|---|
protected Element[] |
AbstractOperation.calculateArgs(Context context)
A utility method which calls execute on each of this
operation's arguments and returns an array of the results. |
Element |
DML.execute(Context context)
Execution of a DML block consists simply of executing the block's arguments in order. |
abstract Element |
AbstractOperation.execute(Context context)
|
Element |
Operation.execute(Context context)
Execute this operation within the given context. |
| Uses of Element in org.quattor.pan.dml.data |
|---|
| Subclasses of Element in org.quattor.pan.dml.data | |
|---|---|
class |
BooleanProperty
Represents a boolean value. |
class |
DoubleProperty
Represents a double value. |
class |
HashResource
Represents an nlist or hash that associates a string value (key) to another element. |
class |
ListResource
Represents an ordered list of elements. |
class |
LongProperty
Represents a long value. |
class |
Null
Represents a null value in the pan language. |
class |
NumberProperty
Implements a superclass for all primitive pan numbers (long and double). |
class |
PersistentElement
Subclasses of this abstract class can appear as valid elements in a generated configuration tree (hence can be made persistent). |
class |
Property
Property represents a simple primitive type (boolean, long, or string) in the pan language. |
class |
ProtectedHashResource
|
class |
ProtectedListResource
|
class |
Resource
A Resource is a container of Properties and other Resources. |
class |
StringProperty
Represents a string value. |
class |
TransientElement
Subclasses of this abstract class may not appear in a final configuration tree. |
class |
Undef
Represents the undef value in the pan language. |
| Methods in org.quattor.pan.dml.data that return Element | |
|---|---|
Element |
ProtectedHashResource.duplicate()
|
Element |
ProtectedListResource.duplicate()
|
Element |
ListResource.duplicate()
|
Element |
HashResource.duplicate()
|
Element |
Element.duplicate()
This method does a "clone" of the given Element. |
Element |
Element.execute(Context context)
All Elements are Operations and can be executed, but each just returns a reference to itself. |
Element |
ProtectedHashResource.get(Term key)
|
Element |
ProtectedListResource.get(Term key)
|
Element |
ListResource.get(Term term)
|
abstract Element |
Resource.get(Term term)
Retrieve the Element associated with the given Term (either an index or string key). |
Element |
HashResource.get(Term term)
|
Element |
ProtectedHashResource.protect()
|
Element |
ProtectedListResource.protect()
|
Element |
ListResource.protect()
|
Element |
HashResource.protect()
|
Element |
Element.protect()
Return a protected version of this Element. |
Element |
ProtectedListResource.put(int index,
Element newValue)
|
Element |
ListResource.put(int index,
Element newValue)
This is an optimized version of the put method which doesn't require creating a Term object. |
Element |
ProtectedHashResource.put(Term key,
Element newValue)
|
Element |
ProtectedListResource.put(Term key,
Element newValue)
|
Element |
ListResource.put(Term term,
Element value)
|
abstract Element |
Resource.put(Term term,
Element newValue)
Define the mapping between the given Term and given Element. |
Element |
HashResource.put(Term term,
Element newValue)
|
Element |
Resource.rget(Term[] terms,
int index,
boolean protect,
boolean lookupOnly)
|
Element |
Element.rget(Term[] terms,
int index,
boolean protect,
boolean lookupOnly)
Dereference the Element to return the value of a child. |
Element |
ProtectedHashResource.writableCopy()
|
Element |
ProtectedListResource.writableCopy()
|
Element |
Element.writableCopy()
This method returns a writable copy of this Element. |
| Methods in org.quattor.pan.dml.data that return types with arguments of type Element | |
|---|---|
protected java.util.List<Element> |
ProtectedListResource.getBackingList()
Override this method to return the list from the base list. |
protected java.util.List<Element> |
ListResource.getBackingList()
This method is used to access the underlying map used to store the hash information. |
protected java.util.Map<java.lang.String,Element> |
ProtectedHashResource.getBackingMap()
Override this method to return the map from the base hash. |
protected java.util.Map<java.lang.String,Element> |
HashResource.getBackingMap()
This method is used to access the underlying map used to store the hash information. |
| Methods in org.quattor.pan.dml.data with parameters of type Element | |
|---|---|
void |
ListResource.append(Element e)
Specialized method for a ListResource to append an element to the end of the list. |
void |
Null.checkValidReplacement(Element newValue)
|
void |
ListResource.checkValidReplacement(Element newValue)
|
void |
HashResource.checkValidReplacement(Element newValue)
|
void |
Undef.checkValidReplacement(Element newValue)
|
void |
Element.checkValidReplacement(Element newValue)
Check that the newValue is a valid replacement for the this value. |
void |
ListResource.prepend(Element e)
Specialized method for a ListResource to prepend an element at the beginning of a list. |
Element |
ProtectedListResource.put(int index,
Element newValue)
|
Element |
ListResource.put(int index,
Element newValue)
This is an optimized version of the put method which doesn't require creating a Term object. |
Element |
ProtectedHashResource.put(Term key,
Element newValue)
|
Element |
ProtectedListResource.put(Term key,
Element newValue)
|
Element |
ListResource.put(Term term,
Element value)
|
abstract Element |
Resource.put(Term term,
Element newValue)
Define the mapping between the given Term and given Element. |
Element |
HashResource.put(Term term,
Element newValue)
|
void |
ProtectedHashResource.rput(Term[] terms,
int index,
Element value)
|
void |
ProtectedListResource.rput(Term[] terms,
int index,
Element value)
|
void |
Resource.rput(Term[] terms,
int index,
Element value)
|
void |
Element.rput(Term[] terms,
int index,
Element value)
Add the given child to this resource, creating intermediate resources as necessary. |
| Constructors in org.quattor.pan.dml.data with parameters of type Element | |
|---|---|
ListResource(Element[] args)
|
|
| Uses of Element in org.quattor.pan.dml.functions |
|---|
| Fields in org.quattor.pan.dml.functions with type parameters of type Element | |
|---|---|
protected java.lang.Class<? extends Element> |
IsOfType.type
|
| Methods in org.quattor.pan.dml.functions with parameters of type Element | |
|---|---|
protected java.util.regex.Pattern |
AbstractMatcher.compilePattern(Element regex,
int flags)
Generate a Pattern from the given string and flags. |
protected int |
AbstractMatcher.convertMatchFlags(Element opts)
A utility function to convert a string containing match options to the associated integer with the appropriate bits set. |
| Method parameters in org.quattor.pan.dml.functions with type arguments of type Element | |
|---|---|
static Operation |
IsValueOfType.getInstance(SourceRange sourceRange,
java.lang.Class<? extends Element> type,
java.lang.String name,
Operation... operations)
|
static Operation |
IsVariableOfType.getInstance(SourceRange sourceRange,
java.lang.Class<? extends Element> type,
java.lang.String name,
Operation... operations)
|
static Operation |
IsOfType.getInstance(SourceRange sourceRange,
java.lang.Class<? extends Element> type,
java.lang.String name,
Operation... operations)
|
| Constructor parameters in org.quattor.pan.dml.functions with type arguments of type Element | |
|---|---|
IsOfType(java.lang.String name,
SourceRange sourceRange,
java.lang.Class<? extends Element> type,
Operation... operations)
|
|
| Uses of Element in org.quattor.pan.dml.operators |
|---|
| Methods in org.quattor.pan.dml.operators that return Element | |
|---|---|
static Element |
LogicalNot.execute(BooleanProperty a)
|
Element |
SelfSimpleListVariable.execute(Context context)
|
Element |
SelfNestedListVariable.execute(Context context)
|
Element |
SimpleListVariable.execute(Context context)
|
Element |
SetSelf.execute(Context context)
|
Element |
BitNot.execute(Context context)
|
Element |
LogicalAnd.execute(Context context)
|
Element |
BitAnd.execute(Context context)
|
Element |
LogicalGE.execute(Context context)
|
Element |
LogicalNot.execute(Context context)
|
Element |
LogicalLE.execute(Context context)
|
Element |
LogicalGT.execute(Context context)
|
Element |
SelfSimpleVariable.execute(Context context)
|
Element |
SimpleVariable.execute(Context context)
|
Element |
Mult.execute(Context context)
|
Element |
LogicalOr.execute(Context context)
|
Element |
UnaryPlus.execute(Context context)
|
Element |
IfElse.execute(Context context)
Perform the if statement. |
Element |
Add.execute(Context context)
Perform the addition of the two top values on the data stack in the given DMLContext. |
Element |
LogicalNE.execute(Context context)
|
Element |
While.execute(Context context)
|
Element |
For.execute(Context context)
|
Element |
Assign.execute(Context context)
|
Element |
Div.execute(Context context)
|
Element |
SelfNestedVariable.execute(Context context)
|
Element |
BitIOR.execute(Context context)
|
Element |
LogicalEQ.execute(Context context)
|
Element |
BitXOR.execute(Context context)
|
Element |
Foreach.execute(Context context)
|
Element |
NestedVariable.execute(Context context)
|
Element |
LogicalLT.execute(Context context)
|
Element |
UnaryMinus.execute(Context context)
|
Element |
NestedListVariable.execute(Context context)
|
Element |
Mod.execute(Context context)
|
Element |
Sub.execute(Context context)
|
Element |
SetValue.execute(Context context)
|
Element |
SetSelf.execute(Context context,
Element result)
|
Element |
SetValue.execute(Context context,
Element result)
|
static Element |
BitXOR.execute(LongProperty a,
LongProperty b)
|
static Element |
Sub.execute(NumberProperty a,
NumberProperty b)
|
static Element |
Mod.execute(SourceRange sourceRange,
LongProperty a,
LongProperty b)
|
| Methods in org.quattor.pan.dml.operators with parameters of type Element | |
|---|---|
Element |
SetSelf.execute(Context context,
Element result)
|
Element |
SetValue.execute(Context context,
Element result)
|
| Uses of Element in org.quattor.pan.exceptions |
|---|
| Methods in org.quattor.pan.exceptions that return Element | |
|---|---|
Element |
ReturnValueException.getElement()
|
| Constructors in org.quattor.pan.exceptions with parameters of type Element | |
|---|---|
ReturnValueException(Element element)
|
|
| Uses of Element in org.quattor.pan.output |
|---|
| Methods in org.quattor.pan.output with parameters of type Element | |
|---|---|
void |
PanTxtFormatter.readChild(Element element,
java.io.PrintWriter ps,
int level,
java.lang.String name)
Reads each child. |
void |
TxtFormatter.write(Element root,
java.lang.String rootname,
java.io.PrintWriter ps)
|
void |
DotFormatter.write(Element root,
java.lang.String rootName,
java.io.PrintWriter ps)
|
void |
PanFormatter.write(Element root,
java.lang.String rootName,
java.io.PrintWriter ps)
|
abstract void |
PanTxtFormatter.write(Element root,
java.lang.String rootName,
java.io.PrintWriter ps)
Reads the configuration tree and writes it in an xml file. |
void |
XmlDBFormatter.write(Element root,
java.lang.String rootName,
java.io.PrintWriter ps)
|
void |
Formatter.write(Element root,
java.lang.String rootName,
java.io.PrintWriter ps)
Reads this Tree and writes it in a file within the given context. |
| Uses of Element in org.quattor.pan.statement |
|---|
| Fields in org.quattor.pan.statement declared as Element | |
|---|---|
protected Element |
ConstantAssignmentStatement.value
|
protected Element |
ConstantVariableStatement.value
|
| Methods in org.quattor.pan.statement with parameters of type Element | |
|---|---|
static java.util.List<java.lang.String> |
VariableStatement.convertLoadpathVariable(Element element)
Convert the given element (which should be the "LOADPATH" global variable) to a list of strings. |
static AssignmentStatement |
AssignmentStatement.createAssignmentStatement(SourceRange sourceRange,
Path path,
Element value,
boolean conditional,
boolean modifiable)
|
| Constructors in org.quattor.pan.statement with parameters of type Element | |
|---|---|
ConstantAssignmentStatement(SourceRange sourceRange,
Path path,
Element value,
boolean conditional,
boolean modifiable)
This constructor creates a new AbsoluteAssignmentStatement that assigns a constant value (Element) to the associated path. |
|
ConstantLoadpathStatement(SourceRange sourceRange,
Element value,
boolean conditional,
boolean modifiable)
|
|
ConstantVariableStatement(SourceRange sourceRange,
java.lang.String name,
Element value,
boolean conditional,
boolean modifiable)
|
|
| Uses of Element in org.quattor.pan.tasks |
|---|
| Methods in org.quattor.pan.tasks that return Element | |
|---|---|
Element |
Valid2Result.getRoot()
|
Element |
BuildResult.getRoot()
|
| Constructors in org.quattor.pan.tasks with parameters of type Element | |
|---|---|
BuildResult(Element root,
Context context)
|
|
Valid1Result(Element root,
Context context)
|
|
Valid2Result(Element root,
long timestamp,
java.util.Set<java.lang.String> objectDependencies,
java.util.Set<SourceFile> dependencies)
|
|
| Uses of Element in org.quattor.pan.template |
|---|
| Fields in org.quattor.pan.template declared as Element | |
|---|---|
protected Element |
SelfHolder.element
|
| Methods in org.quattor.pan.template that return Element | |
|---|---|
Element |
CompileTimeContext.dereferenceVariable(java.lang.String name,
boolean lookupOnly,
Term[] terms)
Return the Element which corresponds to the given variable name. |
Element |
BuildContext.dereferenceVariable(java.lang.String name,
boolean lookupOnly,
Term[] terms)
Return the Element which corresponds to the given variable name. |
Element |
Context.dereferenceVariable(java.lang.String name,
boolean lookupOnly,
Term[] terms)
Return the Element which corresponds to the given variable name. |
Element |
CompileTimeContext.executeDmlBlock(Operation dml)
|
Element |
BuildContext.executeDmlBlock(Operation dml)
|
Element |
Context.executeDmlBlock(Operation dml)
|
Element |
LocalVariableMap.get(java.lang.String name)
Lookup the value associated with the given variable name. |
Element |
InvalidSelfHolder.getElement()
|
Element |
SelfHolder.getElement()
|
Element |
CompileTimeContext.getElement(Path path)
Pull the value of an element from a configuration tree. |
Element |
BuildContext.getElement(Path path)
Pull the value of an element from a configuration tree. |
Element |
Context.getElement(Path path)
Pull the value of an element from a configuration tree. |
Element |
CompileTimeContext.getElement(Path path,
boolean errorIfNotFound)
Pull the value of an element from a configuration tree. |
Element |
BuildContext.getElement(Path path,
boolean errorIfNotFound)
Pull the value of an element from a configuration tree. |
Element |
Context.getElement(Path path,
boolean errorIfNotFound)
Pull the value of an element from a configuration tree. |
Element |
CompileTimeContext.getGlobalVariable(java.lang.String name)
Return the Element which corresponds to the given variable name without duplicating the value. |
Element |
BuildContext.getGlobalVariable(java.lang.String name)
Return the Element which corresponds to the given variable name without duplicating the value. |
Element |
Context.getGlobalVariable(java.lang.String name)
Return the Element which corresponds to the given variable name without duplicating the value. |
Element |
CompileTimeContext.getLocalVariable(java.lang.String name)
Return the value associated with a local variable. |
Element |
BuildContext.getLocalVariable(java.lang.String name)
Return the value associated with a local variable. |
Element |
Context.getLocalVariable(java.lang.String name)
Return the value associated with a local variable. |
Element |
CompileTimeContext.getSelf()
|
Element |
BuildContext.getSelf()
|
Element |
Context.getSelf()
|
Element |
CompileTimeContext.getVariable(java.lang.String name)
Return the Element which corresponds to the given variable name. |
Element |
BuildContext.getVariable(java.lang.String name)
Return the Element which corresponds to the given variable name. |
Element |
Context.getVariable(java.lang.String name)
Return the Element which corresponds to the given variable name. |
Element |
LocalVariableMap.put(java.lang.String name,
Element value)
Assign the value to the given variable name. |
| Methods in org.quattor.pan.template with parameters of type Element | |
|---|---|
boolean |
CompileTimeContext.executeDmlValidationBlock(Operation dml,
Element self)
|
boolean |
BuildContext.executeDmlValidationBlock(Operation dml,
Element self)
|
boolean |
Context.executeDmlValidationBlock(Operation dml,
Element self)
|
Element |
LocalVariableMap.put(java.lang.String name,
Element value)
Assign the value to the given variable name. |
void |
CompileTimeContext.putElement(Path path,
Element value)
|
void |
BuildContext.putElement(Path path,
Element value)
|
void |
Context.putElement(Path path,
Element value)
|
GlobalVariable |
CompileTimeContext.replaceGlobalVariable(java.lang.String name,
Element value,
boolean finalFlag)
Replaces the given global variable with the given value. |
GlobalVariable |
BuildContext.replaceGlobalVariable(java.lang.String name,
Element value,
boolean finalFlag)
Replaces the given global variable with the given value. |
GlobalVariable |
Context.replaceGlobalVariable(java.lang.String name,
Element value,
boolean finalFlag)
Replaces the given global variable with the given value. |
void |
CompileTimeContext.resetSelf(Element newValue)
|
void |
BuildContext.resetSelf(Element newValue)
|
void |
Context.resetSelf(Element newValue)
|
void |
InvalidSelfHolder.setElement(Element element)
|
void |
ReadOnlySelfHolder.setElement(Element element)
|
void |
PathSelfHolder.setElement(Element element)
|
void |
VariableSelfHolder.setElement(Element element)
|
void |
SelfHolder.setElement(Element element)
|
void |
CompileTimeContext.setGlobalVariable(java.lang.String name,
Element value)
Set the variable to the given value, preserving the status of the final flag. |
void |
BuildContext.setGlobalVariable(java.lang.String name,
Element value)
Set the variable to the given value, preserving the status of the final flag. |
void |
Context.setGlobalVariable(java.lang.String name,
Element value)
Set the variable to the given value, preserving the status of the final flag. |
void |
CompileTimeContext.setGlobalVariable(java.lang.String name,
Element value,
boolean finalFlag)
Set the variable to the given value. |
void |
BuildContext.setGlobalVariable(java.lang.String name,
Element value,
boolean finalFlag)
Set the variable to the given value. |
void |
Context.setGlobalVariable(java.lang.String name,
Element value,
boolean finalFlag)
Set the variable to the given value. |
void |
CompileTimeContext.setLocalVariable(java.lang.String name,
Element value)
Set the local variable to the given value. |
void |
BuildContext.setLocalVariable(java.lang.String name,
Element value)
Set the local variable to the given value. |
void |
Context.setLocalVariable(java.lang.String name,
Element value)
Set the local variable to the given value. |
void |
CompileTimeContext.setLocalVariable(java.lang.String name,
Term[] terms,
Element value)
Set the local variable to the given value. |
void |
BuildContext.setLocalVariable(java.lang.String name,
Term[] terms,
Element value)
Set the local variable to the given value. |
void |
Context.setLocalVariable(java.lang.String name,
Term[] terms,
Element value)
Set the local variable to the given value. |
| Constructors in org.quattor.pan.template with parameters of type Element | |
|---|---|
ReadOnlySelfHolder(Element element)
|
|
| Uses of Element in org.quattor.pan.type |
|---|
| Methods in org.quattor.pan.type that return Element | |
|---|---|
Element |
FullType.findDefault(Context context)
|
Element |
LinkType.findDefault(Context context)
|
Element |
AliasType.findDefault(Context context)
|
Element |
HashType.findDefault(Context context)
|
Element |
PrimitiveType.findDefault(Context context)
|
Element |
ListType.findDefault(Context context)
|
Element |
RecordType.findDefault(Context context)
|
abstract Element |
Type.findDefault(Context context)
This method returns the default value for the type or null if no default value exists. |
Element |
FullType.setDefaults(Context context,
Element self)
This will call the setDefaults method of the base type with the given argument. |
Element |
LinkType.setDefaults(Context context,
Element self)
|
Element |
AliasType.setDefaults(Context context,
Element self)
|
Element |
HashType.setDefaults(Context context,
Element self)
|
Element |
PrimitiveType.setDefaults(Context context,
Element self)
|
Element |
ListType.setDefaults(Context context,
Element self)
|
Element |
RecordType.setDefaults(Context context,
Element self)
|
abstract Element |
Type.setDefaults(Context context,
Element self)
This method will recursively set the default values on the given element. |
| Methods in org.quattor.pan.type with parameters of type Element | |
|---|---|
Element |
FullType.setDefaults(Context context,
Element self)
This will call the setDefaults method of the base type with the given argument. |
Element |
LinkType.setDefaults(Context context,
Element self)
|
Element |
AliasType.setDefaults(Context context,
Element self)
|
Element |
HashType.setDefaults(Context context,
Element self)
|
Element |
PrimitiveType.setDefaults(Context context,
Element self)
|
Element |
ListType.setDefaults(Context context,
Element self)
|
Element |
RecordType.setDefaults(Context context,
Element self)
|
abstract Element |
Type.setDefaults(Context context,
Element self)
This method will recursively set the default values on the given element. |
void |
FullType.validate(Context context,
Element self)
|
void |
LinkType.validate(Context context,
Element self)
|
void |
AliasType.validate(Context context,
Element self)
|
void |
HashType.validate(Context context,
Element self)
|
void |
ConcretePrimitiveType.validate(Context context,
Element self)
|
void |
ListType.validate(Context context,
Element self)
|
void |
RecordType.validate(Context context,
Element self)
|
abstract void |
Type.validate(Context context,
Element self)
This method will run this type's validation against the given element. |
void |
FullType.validateAsIncludedType(Context context,
Element self)
A FullType defers the validation to the referenced BaseType, but also runs the DML validation block if defined. |
void |
RecordType.validateAsIncludedType(Context context,
Element self)
|
void |
Type.validateAsIncludedType(Context context,
Element self)
This method will run this type's validation (as an included type) against the given element. |
| Constructors in org.quattor.pan.type with parameters of type Element | |
|---|---|
FullType(java.lang.String source,
SourceRange sourceRange,
BaseType baseType,
Element defaultValue,
Operation dml)
|
|
| Constructor parameters in org.quattor.pan.type with type arguments of type Element | |
|---|---|
ConcretePrimitiveType(java.lang.String name,
java.lang.Class<? extends Element> elementType)
|
|
| Uses of Element in org.quattor.pan.utils |
|---|
| Methods in org.quattor.pan.utils that return Element | |
|---|---|
Element |
GlobalVariable.getUnprotectedValue()
|
Element |
GlobalVariable.getValue()
|
| Methods in org.quattor.pan.utils with parameters of type Element | |
|---|---|
static Term |
TermFactory.create(Element element)
Create a term from a given element. |
void |
GlobalVariable.setValue(Element newValue)
|
| Constructors in org.quattor.pan.utils with parameters of type Element | |
|---|---|
GlobalVariable(boolean finalFlag,
Element value)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||