Package io.vertigo.orchestra
Class OrchestraFeatures
java.lang.Object
io.vertigo.core.node.config.Features<OrchestraFeatures>
io.vertigo.orchestra.OrchestraFeatures
- All Implemented Interfaces:
io.vertigo.core.lang.Builder<io.vertigo.core.node.config.ModuleConfig>
public final class OrchestraFeatures
extends io.vertigo.core.node.config.Features<OrchestraFeatures>
Defines extension orchestra.
- Author:
- pchretien
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwithDataBase(io.vertigo.core.param.Param... params) Activate Orchestra with Database.withMemory(io.vertigo.core.param.Param... params) Activate Orchestra with Memory.Activate Orchestra's REST WebServices.Methods inherited from class io.vertigo.core.node.config.Features
addPlugin, build, getModuleConfigBuilder
-
Constructor Details
-
OrchestraFeatures
public OrchestraFeatures()Constructeur de la feature.
-
-
Method Details
-
withDataBase
Activate Orchestra with Database.- Parameters:
nodeName- the name of the nodedaemonPeriodSeconds- the period for scheduling and executionworkersCount- the number of workersforecastDurationSeconds- the time to forecast planifications- Returns:
- these features
-
withMemory
Activate Orchestra with Memory.- Parameters:
workersCount- the number of workers- Returns:
- these features
-
withWebApi
Activate Orchestra's REST WebServices.- Returns:
- these features
-
buildFeatures
protected void buildFeatures()- Specified by:
buildFeaturesin classio.vertigo.core.node.config.Features<OrchestraFeatures>
-