public class FileResource
extends java.lang.Object
implements com.google.gerrit.extensions.restapi.RestResource
Modifier and Type | Field and Description |
---|---|
static com.google.inject.TypeLiteral<com.google.gerrit.extensions.restapi.RestView<FileResource>> |
FILE_KIND |
Constructor and Description |
---|
FileResource(ProjectControl project,
org.eclipse.jgit.lib.ObjectId rev,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath() |
ProjectControl |
getProject() |
org.eclipse.jgit.lib.ObjectId |
getRev() |
public static final com.google.inject.TypeLiteral<com.google.gerrit.extensions.restapi.RestView<FileResource>> FILE_KIND
public FileResource(ProjectControl project, org.eclipse.jgit.lib.ObjectId rev, java.lang.String path)
public ProjectControl getProject()
public org.eclipse.jgit.lib.ObjectId getRev()
public java.lang.String getPath()