Parameter expressions
From CCIL
Revision as of 14:36, 7 June 2017 by Atanas.ilchev (Talk | contribs)
Contents
Value
Expression of the type ${NAME} will be expanded with the runtime value of the NAME variable. This will alse work with references. You could use syntax in the form of ${@NAME} and expand the value of a variable the NAME reference points to,
Macros
- {SPACE} - Expands into a space.
- {TAB} - Expands into a tab: \t.
- {LF} - Expands into a line feed: \n.
- {CR} - Expands into a carriage return - \r.
- {NL} - Expands into new line: System.getProperty("line.separator").
- {CDATE} - Expands into current date: new Date().toString().
- {CTIME} - Expands into current time: new Date().toString().
- {TIMESTAMP} - Expands into timestamp: System.currentTimeMillis().
Reference
You can reference a parameter name by using the @ symbol:
PARSE_CONTENT.input = @xfer
At some point there shpoul be a definition:
# properties xfer = xfer