Action

An Action is used to implement an action that can be used as part of Operation types (i.e. create operation).  This element helps identify the id name and classname that implements each action.

Syntax

      <Action id="notify" classname="org.openptk.context.actions.Notify">
         <Properties>
            <Property name="plugin.template" value="template"/>
            <Property name="plugin.email"    value="sendemail"/>
         </Properties>
      </Action>

Arguments

NameRequiredDescriptionExample
idYesA unique identifier for a given Action.
id="notify"
classname
Yes
 A fully qualified Java classname that implements the Action Interfaceclassname="org.openptk.context.actions.Notify"


Properties

There can be any number of property name/value pairs that are used as parameters to the Action class.  There are no required Properties for an action.


XML Sub-Elements