Class DUUIPodmanDriver.Component
java.lang.Object
org.texttechnologylab.DockerUnifiedUIMAInterface.driver.DUUIPodmanDriver.Component
- Enclosing class:
DUUIPodmanDriver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withDescription(String description) withGPU(boolean gpu) withImageFetching(boolean imageFetching) withParameter(String key, String value) withRegistryAuth(String username, String password) withRunningAfterDestroy(boolean run) withScale(int scale) Start the given number of parallel instances (containers).withSegmentationStrategy(Class<T> strategyClass) withSourceView(String viewName) withTargetView(String viewName) withWorkers(int workers) Set the maximum concurrency-level of each component by instantiating the multiple replicas per container.
-
Constructor Details
-
Component
- Throws:
URISyntaxExceptionIOException
-
Component
- Throws:
URISyntaxExceptionIOException
-
-
Method Details
-
withParameter
-
withView
-
withSourceView
-
withTargetView
-
withDescription
-
withScale
Start the given number of parallel instances (containers).- Parameters:
scale- Number of containers to start.- Returns:
this
-
withWorkers
Set the maximum concurrency-level of each component by instantiating the multiple replicas per container.- Parameters:
workers- Number of replicas per container.- Returns:
this
-
withRegistryAuth
-
withImageFetching
-
withImageFetching
-
withGPU
-
withRunningAfterDestroy
-
withSegmentationStrategy
-
withSegmentationStrategy
public <T extends DUUISegmentationStrategy> DUUIPodmanDriver.Component withSegmentationStrategy(Class<T> strategyClass) throws InstantiationException, IllegalAccessException, NoSuchMethodException, InvocationTargetException -
build
-
withName
-