public class ChangeEntry extends Object implements ChangePrintable
| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected String |
changeId |
protected String |
changeLogClass |
protected String |
changeSetMethod |
protected String |
errorTrace |
protected String |
executionHostname |
protected String |
executionId |
protected long |
executionMillis |
static String |
KEY_AUTHOR |
static String |
KEY_CHANGE_ID |
static String |
KEY_CHANGELOG_CLASS |
static String |
KEY_CHANGESET_METHOD |
static String |
KEY_ERROR_TRACE |
static String |
KEY_EXECUTION_HOST_NAME |
static String |
KEY_EXECUTION_ID |
static String |
KEY_EXECUTION_MILLIS |
static String |
KEY_METADATA |
static String |
KEY_STATE |
static String |
KEY_SYSTEM_CHANGE |
static String |
KEY_TIMESTAMP |
static String |
KEY_TYPE |
protected Object |
metadata |
protected Date |
originalTimestamp |
protected ChangeState |
state |
protected Boolean |
systemChange |
protected Date |
timestamp |
protected ChangeType |
type |
| Constructor and Description |
|---|
ChangeEntry() |
ChangeEntry(String executionId,
String changeId,
String author,
Date timestamp,
ChangeState state,
ChangeType type,
String changeLogClass,
String changeSetMethod,
long executionMillis,
String executionHostname,
Object metadata,
Boolean systemChange) |
ChangeEntry(String executionId,
String changeId,
String author,
Date timestamp,
ChangeState state,
ChangeType type,
String changeLogClass,
String changeSetMethod,
long executionMillis,
String executionHostname,
Object metadata,
String errorTrace,
Boolean systemChange) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoPrettyStringpublic static final String KEY_EXECUTION_ID
public static final String KEY_CHANGE_ID
public static final String KEY_AUTHOR
public static final String KEY_TIMESTAMP
public static final String KEY_STATE
public static final String KEY_TYPE
public static final String KEY_CHANGELOG_CLASS
public static final String KEY_CHANGESET_METHOD
public static final String KEY_METADATA
public static final String KEY_EXECUTION_MILLIS
public static final String KEY_EXECUTION_HOST_NAME
public static final String KEY_ERROR_TRACE
public static final String KEY_SYSTEM_CHANGE
protected String executionId
protected String changeId
protected String author
protected Date timestamp
protected ChangeState state
protected ChangeType type
protected String changeLogClass
protected String changeSetMethod
protected Object metadata
protected long executionMillis
protected String executionHostname
protected String errorTrace
protected Boolean systemChange
protected Date originalTimestamp
public ChangeEntry()
public ChangeEntry(String executionId, String changeId, String author, Date timestamp, ChangeState state, ChangeType type, String changeLogClass, String changeSetMethod, long executionMillis, String executionHostname, Object metadata, Boolean systemChange)
public static ChangeEntry instance(String executionId, String author, ChangeState state, ChangeType type, String changeSetId, String changeSetClassName, String changeSetName, long executionMillis, String executionHostname, Object metadata, Boolean systemChange)
public static ChangeEntry failedInstance(String executionId, String author, ChangeState state, ChangeType type, String changeSetId, String changeSetClassName, String changeSetName, long executionMillis, String executionHostname, Object metadata, String error, Boolean systemChange)
public String getExecutionId()
public String getChangeId()
public String getId()
getId in interface ChangePrintablepublic String getAuthor()
getAuthor in interface ChangePrintablepublic String getChangeLogClassString()
getChangeLogClassString in interface ChangePrintablepublic String getMethodNameString()
getMethodNameString in interface ChangePrintablepublic Date getTimestamp()
public ChangeState getState()
public String getChangeLogClass()
public String getChangeSetMethod()
public long getExecutionMillis()
public String getExecutionHostname()
public Object getMetadata()
public ChangeType getType()
getType in interface ChangePrintablepublic boolean isSystemChange()
public void setSystemChange(boolean systemChange)
public Date getOriginalTimestamp()
public void setOriginalTimestamp(Date originalTimestamp)
public boolean hasRelevantState()
public boolean isExecuted()
Copyright © 2023. All rights reserved.