Package com._1c.g5.v8.dt.core.operations
Class UserOperationBlockInfo
- java.lang.Object
-
- com._1c.g5.v8.dt.core.operations.UserOperationBlockInfo
-
public final class UserOperationBlockInfo extends Object
User operation block info.
-
-
Constructor Summary
Constructors Constructor Description UserOperationBlockInfo(org.eclipse.core.resources.IProject project, UserOperationBlockReason reason, ProjectLifecyclePhase projectLifecyclePhase, List<ServiceOperation> blockingServiceOperations)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServiceOperation>
getBlockingServiceOperations()
Gets blocking service operations.org.eclipse.core.resources.IProject
getProject()
Gets the project user operations affecting which are blocked.ProjectLifecyclePhase
getProjectLifecyclePhase()
Gets the project lifecycle phase.UserOperationBlockReason
getReason()
Gets the block reason.
-
-
-
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 benull
.reason
- The block reason. May not benull
.projectLifecyclePhase
- The project lifecycle phase ornull
in case the project is not registered.blockingServiceOperations
- A list of the active service operations that block execution of user operations ornull
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
.
-
getReason
public UserOperationBlockReason getReason()
Gets the block reason.- Returns:
- the reason. 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.
-
-