Package com.google.gerrit.server.change
Class ChangeEditResource
- java.lang.Object
-
- com.google.gerrit.server.change.ChangeEditResource
-
- All Implemented Interfaces:
RestResource
public class ChangeEditResource extends Object implements RestResource
Represents change edit resource, that is actually two kinds of resources:- the change edit itself
- a path within the edit
-
-
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<ChangeEditResource>>
CHANGE_EDIT_KIND
-
Constructor Summary
Constructors Constructor Description ChangeEditResource(ChangeResource change, ChangeEdit edit, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeEdit
getChangeEdit()
ChangeResource
getChangeResource()
String
getPath()
boolean
isCacheable()
-
-
-
Field Detail
-
CHANGE_EDIT_KIND
public static final com.google.inject.TypeLiteral<RestView<ChangeEditResource>> CHANGE_EDIT_KIND
-
-
Constructor Detail
-
ChangeEditResource
public ChangeEditResource(ChangeResource change, ChangeEdit edit, String path)
-
-
Method Detail
-
isCacheable
public boolean isCacheable()
-
getChangeResource
public ChangeResource getChangeResource()
-
getChangeEdit
public ChangeEdit getChangeEdit()
-
getPath
public String getPath()
-
-