Package com.google.gerrit.server.change
Class FileResource
- java.lang.Object
-
- com.google.gerrit.server.change.FileResource
-
- All Implemented Interfaces:
RestResource
public class FileResource extends Object implements RestResource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.restapi.RestResource
RestResource.HasETag, RestResource.HasLastModified
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.inject.TypeLiteral<RestView<FileResource>>
FILE_KIND
-
Constructor Summary
Constructors Constructor Description FileResource(RevisionResource rev, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account.Id
getAccountId()
Patch.Key
getPatchKey()
RevisionResource
getRevision()
boolean
isCacheable()
-
-
-
Field Detail
-
FILE_KIND
public static final com.google.inject.TypeLiteral<RestView<FileResource>> FILE_KIND
-
-
Constructor Detail
-
FileResource
public FileResource(RevisionResource rev, String name)
-
-
Method Detail
-
getPatchKey
public Patch.Key getPatchKey()
-
isCacheable
public boolean isCacheable()
-
getAccountId
public Account.Id getAccountId()
-
getRevision
public RevisionResource getRevision()
-
-