Creating a New Synchronization Action

Create custom synchronization actions to use with your rollout configurations. Create a synchronization action when the installed actions do not meet your specific application requirements. To do so, create two classes:

The LiveActionFactory creates instances of the LiveAction class for a given configuration:

  • LiveAction classes include the following methods:

    • getName: Returns the name of the action. The name is used to refer to the action, for example, in rollout configurations.
    • execute: Performs the tasks of the action.
  • LiveActionFactory classes include the following members:

    • LIVE_ACTION_NAME: A field that contains the name of the associated LiveAction. This name must coincide with the value that is returned by the getName method of the LiveAction class.

    • createAction: Creates an instance of the LiveAction. The optional Resource parameter can be used to provide configuration information.

    • createsAction: Returns the name of the associated LiveAction.