Java Task Hook
The Java hook allows custom Java code to be executed.
Attributes
Attribute Name |
Description |
event |
Valid values:
|
type |
“CommandLineHook” |
Parameters
Parameter Name |
Description |
class |
The fully qualified name of
the custom Java class. The custom Java class must implement the
|
Example:
The following example details how to configure a Java task hook.
<Task name="Production" type="FolderSync"> ... <TaskHook event="PreTask" type="JavaHook"> <Param name="class" value="com.oberon.acme.css.SPSyncPreTaskHook"/> </TaskHook> </Task>