mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -43,6 +43,8 @@ public interface AppliedPatch extends PatchInfo
|
||||
|
||||
public void setAppliedOnDate(Date date);
|
||||
|
||||
public void setWasExecuted(boolean executed);
|
||||
|
||||
public void setSucceeded(boolean succeeded);
|
||||
|
||||
public void setReport(String report);
|
||||
|
@@ -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>
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user