| Package | Description |
|---|---|
| org.quattor.pan.exceptions |
Exceptions that can be generated at various stages in the machine profile
processing.
|
| org.quattor.pan.statement |
Provides classes that implement the core declarative statements of the
pan language.
|
| org.quattor.pan.template |
Contains the classes that define the java implementation a pan template
or classes related to them.
|
| org.quattor.pan.utils |
Provides collection of useful utilities that don't fit neatly into other
pan packages.
|
| Modifier and Type | Method and Description |
|---|---|
String |
InvalidTermException.formatMessage(Path path) |
ValidationException |
ValidationException.setPathTypeAndObject(Path path,
FullType type,
File objectTemplate) |
| Modifier and Type | Field and Description |
|---|---|
protected Path |
AssignmentStatement.path |
| Modifier and Type | Method and Description |
|---|---|
static AssignmentStatement |
AssignmentStatement.createAssignmentStatement(SourceRange sourceRange,
Path path,
Element value,
boolean conditional,
boolean modifiable) |
static AssignmentStatement |
AssignmentStatement.createAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable) |
| Constructor and Description |
|---|
AbsoluteAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable)
This constructor creates a new AbsoluteAssignmentStatement that assigns a
the result of a DML block to the associated path.
|
AssignmentStatement(SourceRange sourceRange,
Path path,
boolean conditional,
boolean modifiable) |
ComputedAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable)
This constructor creates a new AssignmentStatement which assigns a
constant value (Element) to the associated path.
|
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.
|
DeleteAssignmentStatement(SourceRange sourceRange,
Path path,
boolean conditional,
boolean modifiable)
This constructor creates a new AbsoluteAssignmentStatement that assigns a
constant value (Element) to the associated path.
|
RelativeAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable)
This constructor creates a new AssignmentStatement which assigns a the
result of a DML block to the associated path.
|
StaticBindStatement(SourceRange sourceRange,
Path path,
FullType fullType)
This constructor creates a new BindStatement which associates a FullType to a particular, absolute path.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Path,List<FullType>> |
CompileTimeContext.getBindings()
This method returns an unmodifiable, ordered map of the type bindings.
|
Map<Path,List<FullType>> |
BuildContext.getBindings()
This method returns an unmodifiable, ordered map of the type bindings.
|
Map<Path,List<FullType>> |
Context.getBindings()
This method returns an unmodifiable, ordered map of the type bindings.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
CompileTimeContext.getFinalReason(Path p) |
String |
BuildContext.getFinalReason(Path p) |
String |
Context.getFinalReason(Path p) |
boolean |
CompileTimeContext.isFinal(Path p) |
boolean |
BuildContext.isFinal(Path p) |
boolean |
Context.isFinal(Path p) |
void |
CompileTimeContext.putElement(Path path,
Element value) |
void |
BuildContext.putElement(Path path,
Element value) |
void |
Context.putElement(Path path,
Element value) |
void |
CompileTimeContext.setBinding(Path path,
FullType fullType,
Template template,
SourceRange sourceRange)
This method associates a type definition to a path.
|
void |
BuildContext.setBinding(Path path,
FullType fullType,
Template template,
SourceRange sourceRange)
This method associates a type definition to a path.
|
void |
Context.setBinding(Path path,
FullType fullType,
Template template,
SourceRange sourceRange)
This method associates a type definition to a path.
|
void |
CompileTimeContext.setFinal(Path p) |
void |
BuildContext.setFinal(Path p) |
void |
Context.setFinal(Path p) |
| Constructor and Description |
|---|
PathSelfHolder(Path path,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
static Path |
Path.resolve(Path prefix,
Path relative) |
| Modifier and Type | Method and Description |
|---|---|
int |
Path.compareTo(Path o)
The default ordering for paths is such that it will produce a
post-traversal ordering.
|
String |
FinalFlags.getFinalReason(Path path)
Return a String with a message indicating why the given path is final.
|
boolean |
FinalFlags.isFinal(Path path)
Determine if the given path is marked as final.
|
static Path |
Path.resolve(Path prefix,
Path relative) |
void |
FinalFlags.setFinal(Path path)
Mark the given Path as being final.
|
| Constructor and Description |
|---|
Path(Path root,
Term[] terms)
Constructor which will create a new Path from the concatenation of two
existing paths.
|
Copyright © 2014 Quattor. All Rights Reserved.