Class WorkspaceProjectStartRequest


  • public final class WorkspaceProjectStartRequest
    extends Object
    Workspace project start request.
    • Constructor Detail

      • WorkspaceProjectStartRequest

        public WorkspaceProjectStartRequest​(org.eclipse.core.resources.IProject workspaceProject,
                                            ProjectStartType startType)
        Constructs a new instance.
        Parameters:
        workspaceProject - The workspace project to start. May not be null.
        startType - The start type. May not be null.
      • WorkspaceProjectStartRequest

        public WorkspaceProjectStartRequest​(org.eclipse.core.resources.IProject workspaceProject,
                                            ProjectStartType startType,
                                            boolean snapshotRestoration)
        Constructs a new instance.
        Parameters:
        workspaceProject - The workspace project to start. May not be null.
        startType - The start type. May not be null.
        snapshotRestoration - Whether the project start is requested after snapshot restoration.
    • Method Detail

      • getWorkspaceProject

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

        public ProjectStartType getStartType()
        Gets the start type.
        Returns:
        the start type. Never null.
      • startAfterSnapshotRestoration

        public boolean startAfterSnapshotRestoration()
        Gets whether the project start is requested after snapshot restoration.
        Returns:
        true if the project is to be started after snapshot restoration.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object