Make all classes of the project REST API public
This allows us at Google to have a custom Guice module that binds the project REST endpoints. Change-Id: Ie8176abf788df47ad330ae4cbc1ee162a7e8061c Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -27,7 +27,7 @@ import java.io.IOException;
|
||||
import org.eclipse.jgit.revwalk.RevCommit;
|
||||
|
||||
@Singleton
|
||||
class CommitIncludedIn implements RestReadView<CommitResource> {
|
||||
public class CommitIncludedIn implements RestReadView<CommitResource> {
|
||||
private IncludedIn includedIn;
|
||||
|
||||
@Inject
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.google.inject.Singleton;
|
||||
import java.io.IOException;
|
||||
|
||||
@Singleton
|
||||
class DeleteDashboard implements RestModifyView<DashboardResource, SetDashboardInput> {
|
||||
public class DeleteDashboard implements RestModifyView<DashboardResource, SetDashboardInput> {
|
||||
private final Provider<SetDefaultDashboard> defaultSetter;
|
||||
|
||||
@Inject
|
||||
|
||||
@@ -22,7 +22,7 @@ import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
@Singleton
|
||||
class GetProject implements RestReadView<ProjectResource> {
|
||||
public class GetProject implements RestReadView<ProjectResource> {
|
||||
|
||||
private final ProjectJson json;
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ import java.util.SortedSet;
|
||||
import java.util.TreeSet;
|
||||
|
||||
/** Node of a Project in a tree formatted by {@link ListProjects}. */
|
||||
class ProjectNode implements TreeNode, Comparable<ProjectNode> {
|
||||
interface Factory {
|
||||
public class ProjectNode implements TreeNode, Comparable<ProjectNode> {
|
||||
public interface Factory {
|
||||
ProjectNode create(Project project, boolean isVisible);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user