Class SnapshotGitRequest
- java.lang.Object
-
- com.e1c.g5.v8.dt.snapshot.integration.git.SnapshotGitRequest
-
public final class SnapshotGitRequest extends Object
Request to create or restore snapshot for particular project and Git commit.
-
-
Constructor Summary
Constructors Constructor Description SnapshotGitRequest(org.eclipse.core.resources.IProject project, org.eclipse.jgit.lib.ObjectId revision, org.eclipse.jgit.lib.Ref revisionRef, SnapshotTask task)
Constructs a new request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.resources.IProject
getProject()
org.eclipse.jgit.lib.ObjectId
getRevision()
org.eclipse.jgit.lib.Ref
getRevisionRef()
SnapshotTask
getTask()
-
-
-
Constructor Detail
-
SnapshotGitRequest
public SnapshotGitRequest(org.eclipse.core.resources.IProject project, org.eclipse.jgit.lib.ObjectId revision, org.eclipse.jgit.lib.Ref revisionRef, SnapshotTask task)
Constructs a new request.
-
-
Method Detail
-
getProject
public org.eclipse.core.resources.IProject getProject()
- Returns:
- the project, never
null
-
getRevision
public org.eclipse.jgit.lib.ObjectId getRevision()
- Returns:
- SHA-1 of the commit, never
null
-
getRevisionRef
public org.eclipse.jgit.lib.Ref getRevisionRef()
- Returns:
- a ref pointing to
revision
, ornull
-
getTask
public SnapshotTask getTask()
- Returns:
- the snapshot task, never
null
-
-