|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.dml.AbstractOperation
org.quattor.pan.dml.functions.BuiltInFunction
org.quattor.pan.dml.functions.Clone
public final class Clone
This function will clone the given element. In practice this will really only clone Resources because Properties are immutable and can be shared. Cloning of elements is usually done automatically by the compiler; users should rarely, if ever, need to call this explicitly.
| Field Summary |
|---|
| Fields inherited from class org.quattor.pan.dml.functions.BuiltInFunction |
|---|
name |
| Fields inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
ops, sourceRange |
| Method Summary | |
|---|---|
Element |
execute(Context context)
Execute this operation within the given context. |
static Operation |
getInstance(SourceRange sourceRange,
Operation... operations)
|
| Methods inherited from class org.quattor.pan.dml.functions.BuiltInFunction |
|---|
throwExceptionIfCompileTimeContext, toString |
| Methods inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
calculateArgs, calculateTerms, checkInvalidSelfContext, checkRestrictedContext, getOperations, getSourceRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Operation getInstance(SourceRange sourceRange,
Operation... operations)
throws SyntaxException
SyntaxExceptionpublic Element execute(Context context)
Operation
execute in interface Operationexecute in class AbstractOperationcontext - evaluation context for the statement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||