Class ProcessingExecuterPersistenceContainer
- java.lang.Object
-
- com.github.toolarium.processing.engine.impl.executer.dto.ProcessingExecuterPersistenceContainer
-
- All Implemented Interfaces:
java.io.Serializable
public class ProcessingExecuterPersistenceContainer extends java.lang.Object implements java.io.SerializableDefine the processing executer persistence container- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessingExecuterPersistenceContainer()Constructor for ProcessingExecuterSuspendedContentProcessingExecuterPersistenceContainer(java.util.List<byte[]> suspendedStateList)Constructor for ProcessingExecuterSuspendedContent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(byte[] suspendedState)Add a suspended statejava.util.List<byte[]>getSuspendedStateList()Get the list of suspended statesbooleanisEmpty()Check if it is empty
-
-
-
Constructor Detail
-
ProcessingExecuterPersistenceContainer
public ProcessingExecuterPersistenceContainer()
Constructor for ProcessingExecuterSuspendedContent
-
ProcessingExecuterPersistenceContainer
public ProcessingExecuterPersistenceContainer(java.util.List<byte[]> suspendedStateList)
Constructor for ProcessingExecuterSuspendedContent- Parameters:
suspendedStateList- the suspended state list
-
-
Method Detail
-
add
public void add(byte[] suspendedState)
Add a suspended state- Parameters:
suspendedState- the suspended state
-
getSuspendedStateList
public java.util.List<byte[]> getSuspendedStateList()
Get the list of suspended states- Returns:
- the suspended state list
-
isEmpty
public boolean isEmpty()
Check if it is empty- Returns:
- true if it is empty
-
-