Class UserOperationBlockInfo


  • public final class UserOperationBlockInfo
    extends Object
    User operation block info.
    • Constructor Detail

      • UserOperationBlockInfo

        public UserOperationBlockInfo​(org.eclipse.core.resources.IProject project,
                                      UserOperationBlockReason reason,
                                      ProjectLifecyclePhase projectLifecyclePhase,
                                      List<ServiceOperation> blockingServiceOperations)
        Constructs a new instance.
        Parameters:
        project - The project user operations affecting which are blocked. May not be null.
        reason - The block reason. May not be null.
        projectLifecyclePhase - The project lifecycle phase or null in case the project is not registered.
        blockingServiceOperations - A list of the active service operations that block execution of user operations or null if user operations are blocked due to other reasons.
    • Method Detail

      • getProject

        public org.eclipse.core.resources.IProject getProject()
        Gets the project user operations affecting which are blocked.
        Returns:
        the project. Never null.
      • getProjectLifecyclePhase

        public ProjectLifecyclePhase getProjectLifecyclePhase()
        Gets the project lifecycle phase.
        Returns:
        the project lifecycle phase. Never null.
      • getBlockingServiceOperations

        public List<ServiceOperation> getBlockingServiceOperations()
        Gets blocking service operations.
        Returns:
        A list of the active service operations that block execution of user operations or null if user operations are blocked due to other reasons.