public class UpdateLogEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_TYPE_POST
Represents the post-update action.
|
static java.lang.String |
ACTION_TYPE_PRE
Represents the pre-update action.
|
static java.lang.String |
ACTION_TYPE_UPDATE
Represents the update action.
|
static int |
STATUS_ERROR
Update step produced an error (severe).
|
static int |
STATUS_IGNORED
Update step has been ignored.
|
static int |
STATUS_OK
Update step status is OK.
|
static int |
STATUS_UNKNOWN
Update step status is not known.
|
static int |
STATUS_WARNING
Update step was successful but with warnings.
|
static java.lang.String |
STEP_TYPE_SQL
Represents the <sql> element.
|
static java.lang.String |
STEP_TYPE_TASK
Represents the <task> element.
|
Constructor and Description |
---|
UpdateLogEntry()
Constructor method for i18n purposes only.
|
UpdateLogEntry(int actionno,
java.lang.String actiontype,
java.lang.String actionversionid,
int groupno,
java.lang.String steptype,
java.lang.String stepdescription,
int status)
Constructor setting the initial values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(UpdateLogEntry tocheck)
Checks wether a given
UpdateLog instance is equal to this. |
int |
getActionNo()
Getter for the action index.
|
java.lang.String |
getActionType()
Getter for the action type.
|
java.lang.String |
getActionVersionId()
Getter for the action version identifier.
|
int |
getGroupNo()
Getter for the group index.
|
int |
getStatus()
Getter for the step status.
|
java.lang.String |
getStepDescription()
Getter for the step description.
|
java.lang.String |
getStepType()
Getter for the group index.
|
java.lang.String |
toString()
Overrides method
java.lang.Object.toString . |
public static final int STATUS_IGNORED
public static final int STATUS_UNKNOWN
public static final int STATUS_OK
public static final int STATUS_WARNING
public static final int STATUS_ERROR
public static final java.lang.String ACTION_TYPE_PRE
public static final java.lang.String ACTION_TYPE_UPDATE
public static final java.lang.String ACTION_TYPE_POST
public static final java.lang.String STEP_TYPE_SQL
public static final java.lang.String STEP_TYPE_TASK
public UpdateLogEntry() throws java.lang.InstantiationException
I18NExtractor
).
java.lang.InstantiationException
- Error indicationpublic UpdateLogEntry(int actionno, java.lang.String actiontype, java.lang.String actionversionid, int groupno, java.lang.String steptype, java.lang.String stepdescription, int status)
actionno
- The index of the action, (pre-update, update, and post-update count separately)actiontype
- The type of actionactionversionid
- The version identifier of the action, not set for pre/post-update actionsgroupno
- The index of the group within the action (also set for pre/post-update actions)steptype
- The type of stepstepdescription
- Descriptive text for the stepstatus
- The step statuspublic java.lang.String toString()
java.lang.Object.toString
.
toString
in class java.lang.Object
public boolean equals(UpdateLogEntry tocheck)
UpdateLog
instance is equal to this.
tocheck
- The instance to be comparedUpdateLog
instance to check for equalitypublic int getActionNo()
public java.lang.String getActionType()
public java.lang.String getActionVersionId()
public int getGroupNo()
public java.lang.String getStepType()
public java.lang.String getStepDescription()
public int getStatus()
Copyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.