public class RelativeAssignmentStatement extends ComputedAssignmentStatement
dmlconditional, modifiable, path| Modifier | Constructor and Description |
|---|---|
protected |
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Context context)
Execute this Statement within the given context.
|
createAssignmentStatement, createAssignmentStatement, isAbsolute, isRelativegetSourceRangeprotected RelativeAssignmentStatement(SourceRange sourceRange, Path path, Operation dml, boolean conditional, boolean modifiable) throws SyntaxException
sourceRange - source location of this statementpath - machine configuration path (non-external) to modifydml - DML block to evaluate for the path's valueconditional - flag indicating if this is a conditional assignment (i.e. if
the value already exists, don't do anything)modifiable - flag indicating if the path can be further modified (i.e.
'final' functionality)SyntaxExceptionpublic void execute(Context context) throws EvaluationException
Statementexecute in class Statementcontext - DML context to use for the evalution of this statementEvaluationExceptionCopyright © 2014 Quattor. All Rights Reserved.