Class ExecSiteToProcessDispatcher
java.lang.Object
org.aksw.vshell.registry.ExecSiteToProcessDispatcher
- All Implemented Interfaces:
ExecSiteVisitor<CmdOpVisitorToBase>
public class ExecSiteToProcessDispatcher
extends Object
implements ExecSiteVisitor<CmdOpVisitorToBase>
A visitor of exec sites that returns corresponding CmdOpVisitors for producing process builders.
Any processes started during the dispatch process are registered with this instance.
-
Constructor Summary
ConstructorsConstructorDescriptionExecSiteToProcessDispatcher(FinalPlacement finalPlacement, ProcessRunner context, CommandCatalog commandCatalog, FileMapper fileMapper, ExecutorService executorService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProcess(Process closeable) resolve(PlacedCmdOp.PlacedCmd placedCmd) visit(ExecSiteCurrentHost execSite) visit(ExecSiteCurrentJvm execSite) visit(ExecSiteDockerImage execSite)
-
Constructor Details
-
ExecSiteToProcessDispatcher
public ExecSiteToProcessDispatcher(FinalPlacement finalPlacement, ProcessRunner context, CommandCatalog commandCatalog, FileMapper fileMapper, ExecutorService executorService)
-
-
Method Details
-
addProcess
-
getProcesses
-
getContext
-
getFileMapper
-
getCommandCatalog
-
visit
- Specified by:
visitin interfaceExecSiteVisitor<CmdOpVisitorToBase>
-
visit
- Specified by:
visitin interfaceExecSiteVisitor<CmdOpVisitorToBase>
-
visit
- Specified by:
visitin interfaceExecSiteVisitor<CmdOpVisitorToBase>
-
resolve
-
resolve
-