Package | Description |
---|---|
com.whitestein.lsps.engine.change |
Package contains core of the internal event system.
|
com.whitestein.lsps.engine.dto |
Data transfer objects for engine related data.
|
com.whitestein.lsps.engine.exception | |
com.whitestein.lsps.engine.state |
Contains implementation of persistent entities representing model data types.
|
com.whitestein.lsps.engine.state.ser | |
com.whitestein.lsps.engine.state.xml | |
com.whitestein.lsps.modulemanager.migration.entity | |
com.whitestein.lsps.test |
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
ModelInstanceStateChange.getNewState()
Returns the new state.
|
ModelInstanceState |
ModelInstanceStateChange.getOldState()
Returns the old state.
|
Constructor and Description |
---|
ModelInstanceStateChange(ModelInstance modelInstance,
ModelInstanceState oldState,
ModelInstanceState newState)
Creates new instance.
|
Modifier and Type | Field and Description |
---|---|
static Set<ModelInstanceState> |
ModelInstanceState.INVOKABLE_STATES
The set of invokable states.
|
static Set<ModelInstanceState> |
ModelInstanceState.MODEL_UPDATE_ABORTABLE_STATES
The set of model update states which can be aborted.
|
static Set<ModelInstanceState> |
ModelInstanceState.MODEL_UPDATE_STATES
The set of model update states.
|
static Set<ModelInstanceState> |
ModelInstanceState.MODEL_UPDATEABLE
The set of model instance states which allow model update to be performed.
|
static Set<ModelInstanceState> |
ModelInstanceState.RESTARTABLE_STATES
The set of restartable states.
|
static Set<ModelInstanceState> |
ModelInstanceState.RESUMABLE_STATES
The set of resumable states.
|
static Set<ModelInstanceState> |
ModelInstanceState.RUNNING_STATES
The set of running states.
|
static Set<ModelInstanceState> |
ModelInstanceState.SUSPENDABLE_STATES
The set of suspendable states.
|
static Set<ModelInstanceState> |
ModelInstanceState.SUSPENDED_STATES
The set of suspended states.
|
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
ModelUpdate.getState()
Returns state of migration
|
ModelInstanceState |
ModelInstanceInfo.getState()
Returns state of the model instance execution.
|
static ModelInstanceState |
ModelInstanceState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelInstanceState[] |
ModelInstanceState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<ModelInstanceState> |
ModelInstanceCriteria.getStates()
Returns the set of states.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ModelInstanceState.canFinish(ModelInstanceState state)
Returns true if model can be finished.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ModelInstanceState.canFinishAll(Set<ModelInstanceState> states)
Returns true if models in all input states models can be finished.
|
void |
ModelInstanceCriteria.setStates(Set<ModelInstanceState> states)
Sets the states.
|
Constructor and Description |
---|
ModelInstanceInfo(long id,
Long parentId,
ModelInstanceState state,
Date startedDate,
Date finishedDate,
StringProperties properties,
long modelId,
String modelHash,
String modelName,
String modelVersion)
Creates new instance.
|
ModelUpdate(long id,
long modelInstanceId,
Date started,
Date finished,
Migration migration,
ModelInstanceState state)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
InvalidModelInstanceStateException.getState()
Returns the model instance state.
|
Constructor and Description |
---|
InvalidModelInstanceStateException(long modelInstanceId,
ModelInstanceState state)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
ModelInstanceEntity.getLifecycleState()
Returns life-cycle state.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelInstanceEntity.setLifecycleState(ModelInstanceState state)
Sets life-cycle state.
|
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
SModelInstance.getState()
Returns life-cycle state.
|
Modifier and Type | Method and Description |
---|---|
void |
SModelInstance.setState(ModelInstanceState state) |
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
ModelInstance.getState()
Returns life-cycle state.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelInstance.setState(ModelInstanceState state)
Sets life-cycle state.
|
Constructor and Description |
---|
ModelInstance(long id,
long modelId,
Long modelInstanceMigrationId,
String modelName,
String modelVersion,
String modelHash,
CompatibilityVersion compatibilityVersion,
boolean createProcessLog,
Map<String,String> properties,
Long parentId,
ModelInstanceState state,
ModelInstanceType type,
Date startedDate,
Date finishedDate,
ModelInstanceResourceAllocator idAllocator,
long maxAllocatedId,
long currentId,
Set<Context> topNoBaseLevelContexts,
Long detachmentId,
Long detachingTaskId,
Set<String> evaluationLevelsOnDetach,
boolean isUsingEvaluationLevels)
Creates new instance of
ModelInstance . |
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
ModelUpdate.getState()
Returns the state of the migration.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelUpdate.setState(ModelInstanceState state)
Sets the migration state.
|
Modifier and Type | Method and Description |
---|---|
ModelInstanceState |
ModelInstance.getState()
Returns the model instance state
|
Modifier and Type | Method and Description |
---|---|
List<ModelInstance> |
Module.findModelInstances(ModelInstanceState state,
ModelInstanceState... rest)
Finds all model instances of this module with specified states.
|
List<ModelInstance> |
Module.findModelInstances(ModelInstanceState state,
ModelInstanceState... rest)
Finds all model instances of this module with specified states.
|
List<ModelInstance> |
ModelInstance.getChildren(ModelInstanceState state)
Returns the list of children model instances
that have the given lifecycle state.
|
List<ModelInstance> |
ModelInstance.getChildren(ModelInstanceState state,
Module module)
Returns the list of children model instances
that have the given lifecycle state
and are running on a given model.
|
void |
ModelInstance.waitForState(ModelInstanceState state)
Waits at most 60 seconds for the model instance to reach given state.
|
void |
ModelInstance.waitForState(ModelInstanceState state,
long timeoutMillis)
Waits for the model instance to reach given state.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.