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 Constructor Description OrchestraFeatures()
Constructeur de la feature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildFeatures()
OrchestraFeatures
withDataBase(io.vertigo.core.param.Param... params)
Activate Orchestra with Database.OrchestraFeatures
withMemory(io.vertigo.core.param.Param... params)
Activate Orchestra with Memory.OrchestraFeatures
withWebApi()
Activate Orchestra's REST WebServices.
-
-
-
Method Detail
-
withDataBase
public OrchestraFeatures withDataBase(io.vertigo.core.param.Param... params)
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
public OrchestraFeatures withMemory(io.vertigo.core.param.Param... params)
Activate Orchestra with Memory.- Parameters:
workersCount
- the number of workers- Returns:
- these features
-
withWebApi
public OrchestraFeatures withWebApi()
Activate Orchestra's REST WebServices.- Returns:
- these features
-
buildFeatures
protected void buildFeatures()
- Specified by:
buildFeatures
in classio.vertigo.core.node.config.Features<OrchestraFeatures>
-
-