Package com.google.gerrit.server.project
Class ChildProjectResource
- java.lang.Object
-
- com.google.gerrit.server.project.ChildProjectResource
-
- All Implemented Interfaces:
RestResource
public class ChildProjectResource 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<ChildProjectResource>>
CHILD_PROJECT_KIND
-
Constructor Summary
Constructors Constructor Description ChildProjectResource(ProjectResource parent, ProjectState child)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectState
getChild()
ProjectResource
getParent()
boolean
isDirectChild()
-
-
-
Field Detail
-
CHILD_PROJECT_KIND
public static final com.google.inject.TypeLiteral<RestView<ChildProjectResource>> CHILD_PROJECT_KIND
-
-
Constructor Detail
-
ChildProjectResource
public ChildProjectResource(ProjectResource parent, ProjectState child)
-
-
Method Detail
-
getParent
public ProjectResource getParent()
-
getChild
public ProjectState getChild()
-
isDirectChild
public boolean isDirectChild()
-
-