condor.classad.tests
Class ExprTest
Object
condor.classad.tests.ExprTest
- public class ExprTest
- extends Object
Main program to test evaluation of expressions.
Input consists of a sequence of expressions, each followed by a semicolon.
Each expression is one of the following:
- A list of two classads (RECORD expressions); in this case ad1.value is
evaluated in the same environment used for matching classads.
- A single classad (RECORD) expression; in this case, ad.value is
evaluated.
- Anything else; the expression is simply evaluated.
If the -n command-line option is specified, the expression is imply printed.
Method Summary |
static void |
main(String[] args)
Main program.
|
void |
run(String[] args)
The "main program". |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
ClassAdWriter out
- Place to display output.
ExprTest
public ExprTest()
main
public static void main(String[] args)
throws Exception
- Main program.
Command-line options are
- -v
- Request more verbose debugging output (may be repeated).
- -vnn
- Set the debugging level to nn.
- -t
- Trace the actions of the parser.
- -x
- Parse XML input.
- -p flags
- Set print flags (try -px for a list).
An optional file name may be supplied (default is stdin).
- Parameters:
args
- the command-line arguments.
- Throws:
Exception
- if something goes wrong.
run
public void run(String[] args)
throws Exception
- The "main program".
- Parameters:
args
- the command-line arguments.
- Throws:
Exception
- if something goes wrong.