Class ProcessConfigurator
java.lang.Object
org.chenile.orchestrator.process.config.reader.ProcessConfiguratorBase
org.chenile.orchestrator.process.config.reader.ProcessConfigurator
- All Implemented Interfaces:
IProcessConfigurator
- Direct Known Subclasses:
DatabaseProcessConfigurator
Reads additional configuration about a process based on its process type.
This information can be used by other classes to make some choices. For example, the Workflow service for Process uses this to default the leaf node attribute in the
This also provides additional information to start a worker.
This information can be used by other classes to make some choices. For example, the Workflow service for Process uses this to default the leaf node attribute in the
Process model. This also provides additional information to start a worker.
-
Field Summary
Fields inherited from class ProcessConfiguratorBase
processes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidread(InputStream inputStream) <T extends Processes>
Tread(InputStream inputStream, Class<T> documentType) Read a typed extension of the standard process document, retaining normal lookup behavior.voidprotected voidSubclasses validate extended documents before replacing the active configuration.Methods inherited from class ProcessConfiguratorBase
findByName, findByPredecessorProcessType
-
Constructor Details
-
ProcessConfigurator
public ProcessConfigurator()
-
-
Method Details
-
read
-
read
- Throws:
IOException
-
read
public <T extends Processes> T read(InputStream inputStream, Class<T> documentType) throws IOException Read a typed extension of the standard process document, retaining normal lookup behavior.- Throws:
IOException
-
validate
Subclasses validate extended documents before replacing the active configuration.
-
CHENILE