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 class
ProjectRunnable.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 aFutureTask
and makes it comply with theProjectRunnable
interface.Project.NameKey
getProjectNameKey()
String
getRemoteName()
boolean
hasCustomizedPrint()
-
-
-
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 aFutureTask
and makes it comply with theProjectRunnable
interface.
-
-