org.quattor.pan.dml.functions
Class Deprecated
java.lang.Object
org.quattor.pan.dml.AbstractOperation
org.quattor.pan.dml.functions.BuiltInFunction
org.quattor.pan.dml.functions.Deprecated
- All Implemented Interfaces:
- Operation
public final class Deprecated
- extends BuiltInFunction
Prints the argument to the standard error stream if the given level is less
than or equal to the deprecation level option. The returned value is the
message, if the message is printed; undef, otherwise.
- Author:
- loomis
getInstance
public static Operation getInstance(SourceRange sourceRange,
Operation... operations)
throws SyntaxException
- Throws:
SyntaxException
execute
public Element execute(Context context)
- Description copied from interface:
Operation
- Execute this operation within the given context. If an error occurs, an
EvaluationException will be thrown with the details.
- Specified by:
execute in interface Operation- Specified by:
execute in class AbstractOperation
- Parameters:
context - evaluation context for the statement
- Returns:
- Element produced by running operation
Copyright © 2012 Quattor. All Rights Reserved.