Class PropertyAction

  • All Implemented Interfaces:
    ContextAware

    public class PropertyAction
    extends Action
    This class serves as a base for other actions, which similar to the ANT task which add/set properties of a given object. This action sets new substitution properties in the logging context by name, value pair, or adds all the properties passed in "file" or "resource" attribute.
    • Constructor Detail

      • PropertyAction

        public PropertyAction()
    • Method Detail

      • begin

        public void begin​(InterpretationContext ec,
                          java.lang.String localName,
                          org.xml.sax.Attributes attributes)
        Set a new property for the execution context by name, value pair, or adds all the properties found in the given file.
        Specified by:
        begin in class Action