Patches that were not executed (but considered) are not output on startup

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2198 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-01-25 12:13:32 +00:00
parent e4ca1dfb9f
commit 78052faade
7 changed files with 28 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
<property name="targetSchema" column="target_schema" type="integer" />
<property name="appliedOnDate" column="applied_on_date" type="timestamp" />
<property name="appliedToServer" column="applied_to_server" type="string" length="64" />
<property name="wasExecuted" column="was_executed" type="boolean" />
<property name="succeeded" column="succeeded" type="boolean" />
<property name="report" column="report" type="string" length="1024" />
</class>

View File

@@ -36,6 +36,7 @@ public class AppliedPatchImpl implements AppliedPatch
private int appliedToSchema;
private String appliedToServer;
private Date appliedOnDate;
private boolean wasExecuted;
private boolean succeeded;
private String report;
@@ -56,6 +57,7 @@ public class AppliedPatchImpl implements AppliedPatch
.append(", appliedToSchema=").append(appliedToSchema)
.append(", appliedToServer=").append(appliedToServer)
.append(", appliedOnDate=").append(appliedOnDate)
.append(", wasExecuted=").append(wasExecuted)
.append(", succeeded=").append(succeeded)
.append(", report=").append(report)
.append("]");
@@ -140,6 +142,15 @@ public class AppliedPatchImpl implements AppliedPatch
this.appliedOnDate = appliedOnDate;
}
public boolean getWasExecuted()
{
return wasExecuted;
}
public void setWasExecuted(boolean wasExecuted)
{
this.wasExecuted = wasExecuted;
}
public boolean getSucceeded()
{
return succeeded;
@@ -148,7 +159,7 @@ public class AppliedPatchImpl implements AppliedPatch
{
this.succeeded = succeeded;
}
public String getReport()
{
return report;