public final class ModelInstanceInfo extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
ModelInstanceInfo()
Creates new instance.
|
|
ModelInstanceInfo(long id,
Long parentId,
ModelInstanceState state,
Date startedDate,
Date finishedDate,
StringProperties properties,
long modelId,
String modelHash,
String modelName,
String modelVersion)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getFinishedDate()
Returns the date when the process has finished.
|
long |
getId()
Returns process id.
|
String |
getModelHash()
Return a model hash of the associated process model.
|
long |
getModelId()
Returns id of the associated process model.
|
String |
getModelName()
Returns name of the associated process model.
|
String |
getModelVersion()
Returns version of the associated process model.
|
Long |
getParentId()
Returns the parent model instance id.
|
StringProperties |
getProperties()
Returns process properties.
|
Date |
getStartedDate()
Returns the date when the process was started.
|
ModelInstanceState |
getState()
Returns state of the model instance execution.
|
int |
hashCode() |
boolean |
isFinished()
Returns true if process is finished.
|
protected ModelInstanceInfo()
public ModelInstanceInfo(long id, Long parentId, ModelInstanceState state, Date startedDate, Date finishedDate, StringProperties properties, long modelId, String modelHash, String modelName, String modelVersion)
id
- parentId
- state
- startedDate
- finishedDate
- properties
- modelId
- modelHash
- modelName
- modelVersion
- NullPointerException
- if agentName
or properties
or modelName
or modelVersion
is nullpublic long getId()
public Long getParentId()
public ModelInstanceState getState()
public Date getStartedDate()
public Date getFinishedDate()
public boolean isFinished()
public StringProperties getProperties()
public long getModelId()
public String getModelHash()
public String getModelName()
public String getModelVersion()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.