Class BasicCICustomizationTask

    • Constructor Detail

      • BasicCICustomizationTask

        public BasicCICustomizationTask​(String name,
                                        CommandInterface commandInterface,
                                        IBmObject... objects)
        Creates an instance of the customization task.
        Parameters:
        name - The name of the task (used in undo/redo stack).
        commandInterface - Reference to the target CMI command interface.
        objects - The set of context objects (can be empty).
      • BasicCICustomizationTask

        public BasicCICustomizationTask​(String name,
                                        CommandInterface commandInterface,
                                        List<IBmObject> objects)
        Creates an instance of the customization task.
        Parameters:
        name - The name of the task (used in undo/redo stack).
        commandInterface - Reference to the target CMI command interface.
        objects - The list of context objects (can be empty).
    • Method Detail

      • execute

        public abstract org.eclipse.core.runtime.IStatus execute​(CommandInterface commandInterface,
                                                                 List<IBmObject> objects,
                                                                 org.eclipse.core.runtime.IProgressMonitor monitor)
      • execute

        public org.eclipse.core.runtime.IStatus execute​(IBmTransaction transaction,
                                                        org.eclipse.core.runtime.IProgressMonitor monitor)
        Description copied from interface: IBmTask

        The method called by the task executor with an active transaction. The method code must not commit or rollback the transaction.

        If the task is not supposed to return a result, then it may be parameterized with Void and return null.

        Parameters:
        transaction - The active transaction. May not be null.
        monitor - The monitor to indicate the progress. May not be null.
        Returns:
        execution result, may be null.