public class RollbackInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RollbackInfo.Type
Rollback info type.
|
Modifier | Constructor and Description |
---|---|
protected |
RollbackInfo()
Creates new instance.
|
|
RollbackInfo(long id,
RollbackInfo.Type type,
Long modelInstanceId,
String service,
String method,
String userLogin,
String exception,
Date createDate,
Date resendDate,
List<Long> errorModelInstanceIds)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreateDate()
The date this rollback info instance was created.
|
List<Long> |
getErrorModelInstanceIds()
Returns list of errorModelInstanceIds stored in this info.
|
String |
getException()
A cause of the failure: the stacktrace of the exception.
|
long |
getId()
Database identifier of this record.
|
String |
getMethod()
Returns the method name if a service invocation.
|
Long |
getModelInstanceId()
Returns the model instance id if an agent invocation.
|
Date |
getResendDate()
Last date the message was re-sent.
|
String |
getService()
Returns the service name if a service invocation.
|
RollbackInfo.Type |
getType()
Returns the info type.
|
String |
getUserLogin()
Returns the user login.
|
int |
hashCode() |
protected RollbackInfo()
public RollbackInfo(long id, RollbackInfo.Type type, Long modelInstanceId, String service, String method, String userLogin, String exception, Date createDate, Date resendDate, List<Long> errorModelInstanceIds)
id
- type
- modelInstanceId
- service
- method
- userLogin
- exception
- createDate
- resendDate
- errorModelInstanceIds
- NullPointerException
- if the type
or the exception
or the createDate
is nullpublic Long getModelInstanceId()
public String getService()
public String getMethod()
public String getUserLogin()
public String getException()
public long getId()
public RollbackInfo.Type getType()
public Date getCreateDate()
public Date getResendDate()
null
if message was not yet re-sent.public List<Long> getErrorModelInstanceIds()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.