Package com.google.gerrit.server.git
Interface ProjectRunnable
-
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ProjectRunnable.FromCallable,WorkQueue.ProjectTask
public interface ProjectRunnable extends Runnable
Used to retrieve the project name from an operation *
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProjectRunnable.FromCallable<T>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T> FutureTask<T>fromCallable(Callable<T> callable, Project.NameKey projectName, String operationName, String remoteHostname, boolean hasCustomPrint)Wraps the callable as aFutureTaskand makes it comply with theProjectRunnableinterface.Project.NameKeygetProjectNameKey()StringgetRemoteName()booleanhasCustomizedPrint()
-
-
-
Method Detail
-
getProjectNameKey
Project.NameKey getProjectNameKey()
-
getRemoteName
String getRemoteName()
-
hasCustomizedPrint
boolean hasCustomizedPrint()
-
fromCallable
static <T> FutureTask<T> fromCallable(Callable<T> callable, Project.NameKey projectName, String operationName, String remoteHostname, boolean hasCustomPrint)
Wraps the callable as aFutureTaskand makes it comply with theProjectRunnableinterface.
-
-