Getting started > Configuration > Configuration Basics | 2005-10-04 00:11:20 v0.90 | |
Jacson, say Jackson, think J-ScanConfiguration Basics |
Download Jacson | Sourceforge Project Summary | Jacson Home | SourceForge Home |
What is Jacson? Getting started Download instructions How to install? Configuration Configuration Basics Sample Configurations How to run it? How it works? Contact How to Contribute? Developer Information Other information |
The Jacson configuration is is a XML with a root
<jacson label="otto"> ... </jacson>and <jacson> <label>otto</label> ... </jacson>make no difference to what Jacson sees. There is als an abbreviation for element text by a reserved attribute: <label se:this="otto"/>and <label>otto</label>are equivalent for Jacson. While the "se:" looks like a namespace prefix it is currently only a naming rule for internal elements, but might be lifted to a namespace somewhat in the future. ParametersTo generate flexible configuration, Jacson knows parameters. An element <se:param se:name="otto" se:value="waalkes"/>declares a piece of string named otto
with a default value waalkes ,
that can be used for substitution whereever constant text
is. For example like:
<jacson label="This is otto ${otto}">The default value of these params can be modified
Structure
Within the Within this block, you can have
A block containing not at least one filter or evaluation must be considered a no operation and is an error. Filter's, Eval's and Report's take a class name as text. Note when you use the internal Jacson classes, you can leave away the default package, that is. <jacson se:this="de.spieleck.app.jacson.eval.CountEvaluator">and <jacson label="CountEvaluator">load the same plugin class. If you write your own plugins in your own package, you need to use the full qualified class name.
Different
Classless eval
Unlike Reports attached to non top evaluations only capture output generated below them, but this output is still promoted to all Reports on higher levels.
id/idrefTo avoid some work when designing complex filters, Jacson has a primitive id/idref mechanic. The usage is plugin specific, that is the programmer of the plugin decides to use that mechanic. The builtin plugins implement the following multilevel logic:
The described functionality is implemented by the interaction of
Sources
Although
With Jacson 0.89 a new concept of configurable sources is
introduced. These so called GenericSources can be configured like
Reports or Filters. For examples have a look at
| |||||||||
| ||||||||||
top |