Package io.automatiko.engine.api
Interface Application
-
public interface ApplicationEntry point for accessing business automation components such as processes, rules, decisions, etc.It should be considered as singleton kind of object that can be safely used across entire application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CaseDefinitionscases()Returns cases (case definitions) found in the application otherwise nullConfigconfig()Returns configuration of the applicationdefault DecisionModelsdecisionModels()Returns decision models found in the application otherwise nulldefault Processesprocesses()Returns processes found in the application otherwise nullUnitOfWorkManagerunitOfWorkManager()Returns unit of work manager that allows to control execution within the application
-
-
-
Method Detail
-
config
Config config()
Returns configuration of the application- Returns:
- current configuration
-
processes
default Processes processes()
Returns processes found in the application otherwise null- Returns:
- processes information or null of non found
-
decisionModels
default DecisionModels decisionModels()
Returns decision models found in the application otherwise null- Returns:
- decision models or null if not found
-
cases
default CaseDefinitions cases()
Returns cases (case definitions) found in the application otherwise null- Returns:
- cases (case definitions) or null if not found
-
unitOfWorkManager
UnitOfWorkManager unitOfWorkManager()
Returns unit of work manager that allows to control execution within the application- Returns:
- non null unit of work manager
-
-