public class Transformer
extends java.lang.Object
Property Keyword | Datatype | Default | Description |
---|---|---|---|
ARGV.length | int | 0 | Total number of command line arguments. The size of the ARGV[] property array. |
ARGV[index] | String | null | Command line argument. The word index should be replaced by the index of the argument array. The index starts at 0. The property ARGV.length gives the length of the array. |
basedir | directory | null | The directory of the rules file.. |
job.filename | file | null | The name of the file containing the job. |
transformer.version | String | actual version | The actual transformer version. |
all java system properties | String | All JVM properties, also those comming from commandline. |
Modifier and Type | Class and Description |
---|---|
class |
Transformer.EngineRunner
The engine runnable
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ResourceBundle |
bundle |
protected Status |
runtimeStatus |
Modifier and Type | Method and Description |
---|---|
java.util.ResourceBundle |
getBundle()
Get the resource bundle from transformer.
|
protected java.lang.String |
getCommandLine() |
java.lang.String |
getDrivenBy()
Get the driving side indicator.
|
java.util.logging.Logger |
getLogger()
Get the logger of the transformer.
|
java.util.logging.Logger |
getLogger(java.lang.String name)
Get the named logger.
|
java.util.logging.Logger |
getMessenger()
Get the messenger of the transformer.
|
java.util.logging.Logger |
getMessenger(java.lang.String name)
Get the named messenger.
|
TransformerProperties |
getProperties()
Get the transformer properties.
|
java.lang.String |
getProperty(java.lang.String key)
Get a property.
|
RuleEngine |
getRuleEngine()
Get the rule engine of the transformer.
|
long |
getStartupTime()
Get the time of the startup.
|
java.util.logging.Logger |
getTracer()
Get the tracer of the transformer.
|
java.util.logging.Logger |
getTracer(java.lang.String name)
Get the named tracer.
|
boolean |
isPedantic()
Get a boolean whether the transformer is pedantic.
|
boolean |
isStatus(Status status)
Set the runtime status.
|
static void |
main(java.lang.String[] args) |
java.lang.String |
replaceKeywords(java.lang.String val)
Replace property keywords in string value.
|
void |
setStatus(Status status)
Set the runtime status.
|
void |
tearDown()
Tear down
|
java.lang.String |
toString() |
protected java.util.ResourceBundle bundle
protected Status runtimeStatus
public java.util.ResourceBundle getBundle()
public boolean isPedantic()
public java.lang.String getDrivenBy()
JOB.xsd
public java.lang.String getProperty(java.lang.String key)
key
- the property key.public java.lang.String replaceKeywords(java.lang.String val)
val
- The string value.public java.util.logging.Logger getLogger()
public java.util.logging.Logger getMessenger()
public java.util.logging.Logger getTracer()
public TransformerProperties getProperties()
public RuleEngine getRuleEngine()
public java.util.logging.Logger getLogger(java.lang.String name)
public java.util.logging.Logger getMessenger(java.lang.String name)
public java.util.logging.Logger getTracer(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String getCommandLine()
public long getStartupTime()
public boolean isStatus(Status status)
status
- the new status.public void setStatus(Status status)
status
- the new status.public void tearDown()
public static void main(java.lang.String[] args)
args
-