@Entity
public class ApplicationRestartInfo
extends com.whitestein.lsps.common.AbstractEntity
Modifier and Type | Field and Description |
---|---|
static String |
CLEAR_RESTART_INFO
Query name.
|
static String |
FIND_BY_ID
Query name.
|
static String |
GET_INFOS
Query name.
|
Modifier | Constructor and Description |
---|---|
protected |
ApplicationRestartInfo()
Creates new empty instance of
ApplicationRestartInfo . |
|
ApplicationRestartInfo(long modelInstanceId,
ModelInstanceStartStatus status,
Date startDate)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorMsg()
Error raised during the restart, or null if there was none
|
Date |
getFinishDate()
Timestamp when restart was finished.
|
Long |
getModelInstanceId()
Id of model instance this info is about.
|
Date |
getStartDate()
Timestamp when restart has started.
|
ModelInstanceStartStatus |
getStatus()
Returns the
RestartStatus of the model instance |
void |
setErrorMsg(String errorMsg)
Set error info
|
void |
setFinishDate(Date finishDate)
Set finish date
|
void |
setStatus(ModelInstanceStartStatus status)
Sets the restart status
|
public static final String GET_INFOS
public static final String CLEAR_RESTART_INFO
public static final String FIND_BY_ID
protected ApplicationRestartInfo()
ApplicationRestartInfo
.public ApplicationRestartInfo(long modelInstanceId, ModelInstanceStartStatus status, Date startDate)
modelInstanceId
- status
- start
- public Long getModelInstanceId()
public ModelInstanceStartStatus getStatus()
RestartStatus
of the model instanceRestartStatus
of the model instancepublic void setStatus(ModelInstanceStartStatus status)
status
- public Date getStartDate()
public Date getFinishDate()
public void setFinishDate(Date finishDate)
finishDate
- public String getErrorMsg()
public void setErrorMsg(String errorMsg)
errorMsg
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.