Package com.google.gerrit.server.git
Interface ProjectRunnable
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ProjectRunnable.FromCallable
,WorkQueue.ProjectTask
Used to retrieve the project name from an operation *
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> FutureTask<T>
fromCallable
(Callable<T> callable, Project.NameKey projectName, String operationName, String remoteHostname, boolean hasCustomPrint) Wraps the callable as aFutureTask
and makes it comply with theProjectRunnable
interface.boolean
-
Method Details
-
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 aFutureTask
and makes it comply with theProjectRunnable
interface.
-