Class WorkspaceProjectStopRequest


  • public final class WorkspaceProjectStopRequest
    extends Object
    Workspace project stop request.
    • Constructor Detail

      • WorkspaceProjectStopRequest

        public WorkspaceProjectStopRequest​(org.eclipse.core.resources.IProject workspaceProject,
                                           ProjectStopType stopType)
        Constructs a new instance.
        Parameters:
        workspaceProject - The workspace project to stop. May not be null.
        stopType - The stop type. May not be null.
      • WorkspaceProjectStopRequest

        public WorkspaceProjectStopRequest​(org.eclipse.core.resources.IProject workspaceProject,
                                           ProjectStopType stopType,
                                           boolean snapshotCreation)
        Constructs a new instance.
        Parameters:
        workspaceProject - The workspace project to stop. May not be null.
        stopType - The stop type. May not be null.
        snapshotCreation - Whether the project stop is requested for snapshot creation.
    • Method Detail

      • getWorkspaceProject

        public org.eclipse.core.resources.IProject getWorkspaceProject()
        Gets the workspace project to stop.
        Returns:
        the workspace project to stop. Never null.
      • getStopType

        public ProjectStopType getStopType()
        Gets the stop type.
        Returns:
        the stop type. Never null.
      • stopForSnapshotCreation

        public boolean stopForSnapshotCreation()
        Gets whether the project stop is requested for snapshot creation.
        Returns:
        true if the project is to be stopped for snapshot creation.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object