Package com._1c.g5.v8.dt.core.lifecycle
Class WorkspaceProjectStartRequest
- java.lang.Object
-
- com._1c.g5.v8.dt.core.lifecycle.WorkspaceProjectStartRequest
-
public final class WorkspaceProjectStartRequest extends Object
Workspace project start request.
-
-
Constructor Summary
Constructors Constructor Description WorkspaceProjectStartRequest(org.eclipse.core.resources.IProject workspaceProject, ProjectStartType startType)
Constructs a new instance.WorkspaceProjectStartRequest(org.eclipse.core.resources.IProject workspaceProject, ProjectStartType startType, boolean snapshotRestoration)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ProjectStartType
getStartType()
Gets the start type.org.eclipse.core.resources.IProject
getWorkspaceProject()
Gets the workspace project to start.int
hashCode()
boolean
startAfterSnapshotRestoration()
Gets whether the project start is requested after snapshot restoration.String
toString()
-
-
-
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 benull
.startType
- The start type. May not benull
.
-
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 benull
.startType
- The start type. May not benull
.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.
-
-