Class Process
java.lang.Object
org.chenile.jpautils.entity.BaseJpaEntity
org.chenile.jpautils.entity.AbstractJpaStateEntity
org.chenile.orchestrator.process.model.Process
- All Implemented Interfaces:
StateEntity, ChenileEntity, ExtendedStateEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe client is stored as part of the process.
this enables us to use the client ID to enable client isolation.intPrimarily FYIbooleanis this a dormant processAll errors encountered in this process and its sub-processes.
This will ultimately be consolidated in the top level.
Avoid storing the actual errors here.Arguments required to start this process.
This is stored as a String since it needs to be persisted into the database or transmitted over the wire since the sub-process will be created in a separate VMbooleanis this leaf process.intintOutput of the process.booleanThe flag below is useful to skip worker creation when status updates are done.booleanHas the split completed?All sub processes are pointed to here.
This will not be persisted.Fields inherited from class BaseJpaEntity
createdBy, createdTime, id, tenant, testEntity, version -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractJpaStateEntity
getCurrentState, getSlaLate, getSlaRedDate, getSlaTendingLate, getStateEntryTime, setCurrentState, setSlaLate, setSlaRedDate, setSlaTendingLate, setStateEntryTimeMethods inherited from class BaseJpaEntity
getCreatedBy, getCreatedTime, getId, getLastModifiedBy, getLastModifiedTime, getPrefix, getVersion, setCreatedBy, setCreatedTime, setId, setLastModifiedBy, setLastModifiedTime, setVersionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChenileEntity
getCreatedBy, getCreatedTime, getId, getLastModifiedBy, getLastModifiedTime, getVersion, setCreatedBy, setCreatedTime, setId, setLastModifiedBy, setLastModifiedTime, setVersion
-
Field Details
-
leaf
public boolean leafis this leaf process. -
dormant
public boolean dormantis this a dormant process -
clientId
the client is stored as part of the process.
this enables us to use the client ID to enable client isolation. -
processType
-
splitCompleted
public boolean splitCompletedHas the split completed? Split will be completed only after the splitDone event is called. -
completedPercent
public int completedPercent -
parentId
-
childIdToActivateSuccessors
-
description
Primarily FYI -
errors
All errors encountered in this process and its sub-processes.
This will ultimately be consolidated in the top level.
Avoid storing the actual errors here. Instead, use this to point to a file that actually contains the errors. -
numSubProcesses
public int numSubProcesses -
numCompletedSubProcesses
public int numCompletedSubProcesses -
subProcesses
-
input
Arguments required to start this process.
This is stored as a String since it needs to be persisted into the database or transmitted over the wire since the sub-process will be created in a separate VM -
output
Output of the process. Computed by the executors or the Aggregators. The output will be rolled up to the parent process. -
skipPostWorkerCreation
public boolean skipPostWorkerCreationThe flag below is useful to skip worker creation when status updates are done. -
predecessorId
-
-
Constructor Details
-
Process
public Process() -
Process
public Process(boolean isLeaf) -
Process
-