Class AddRlsTemplateTask

  • All Implemented Interfaces:
    IBmTask<org.eclipse.core.runtime.IStatus>

    public class AddRlsTemplateTask
    extends BmBasicTask
    Add rls template task and send RlsTemplateEvent.
    • Method Detail

      • create

        public static AddRlsTemplateTask create​(RoleDescription roleDescription,
                                                String name,
                                                String condition,
                                                org.eclipse.core.resources.IProject project,
                                                IEventBroker eventBroker)
        Creates a new instance.
        Parameters:
        roleDescription - the role description, cannot be null
        name - the name, cannot be null
        condition - the condition, cannot be null
        eventBroker - the event broker, cannot be null
        Returns:
        the task, cannot be null
      • execute

        public org.eclipse.core.runtime.IStatus execute​(List<IBmObject> bmObjects,
                                                        org.eclipse.core.runtime.IProgressMonitor monitor)
        Description copied from class: BmBasicTask
        Perform task execution. Be ware new objects will not be attached to session on execution.
        Specified by:
        execute in class BmBasicTask