Running a task manually
public boolean canBeRunManually()In the BaseIPDTask class, the default implementation is set to true, which indicates that
the task can be run manually. If the custom task overrides the method with a return value of false, the task
cannot be run manually by using the Services Framework user interface.
public boolean addAdditionalConfirmationDialog()The default
implementation is set to false to not show the dialog box. Set the return value to true to cause the extra
dialog box to be shown.Example
Register a custom task by using the task registry page of the Services Framework user interface.
Then, go to the task configuration page to create a task configuration for the registered custom task. Use the
task operation page to run the task by using the Run task configuration icon. The
Run task configuration icon appears only if the custom task returns a value of true for
the canBeRunManually() method and the user has the permissions to run the custom task.
Otherwise, the icon is not available.
For more information about methods and signatures, see the Javadoc information.