-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MID-8842 ninja - upgrade objects, skipped object counting fixed
(cherry picked from commit 0446299)
- Loading branch information
Showing
6 changed files
with
27 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 4 additions & 63 deletions
67
...s/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/UpgradeObjectResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,10 @@ | ||
package com.evolveum.midpoint.ninja.action.upgrade; | ||
|
||
import com.evolveum.midpoint.prism.delta.ObjectDelta; | ||
import com.evolveum.midpoint.schema.validator.UpgradePhase; | ||
import com.evolveum.midpoint.schema.validator.UpgradePriority; | ||
import com.evolveum.midpoint.schema.validator.UpgradeType; | ||
public enum UpgradeObjectResult { | ||
|
||
public class UpgradeObjectResult { | ||
NO_CHANGES, | ||
|
||
private boolean changed; | ||
SKIPPED, | ||
|
||
private String identifier; | ||
|
||
private UpgradePhase phase; | ||
|
||
private UpgradePriority priority; | ||
|
||
private UpgradeType type; | ||
|
||
private ObjectDelta<?> delta; | ||
|
||
public boolean isChanged() { | ||
return changed; | ||
} | ||
|
||
public void setChanged(boolean changed) { | ||
this.changed = changed; | ||
} | ||
|
||
public ObjectDelta<?> getDelta() { | ||
return delta; | ||
} | ||
|
||
public void setDelta(ObjectDelta<?> delta) { | ||
this.delta = delta; | ||
} | ||
|
||
public String getIdentifier() { | ||
return identifier; | ||
} | ||
|
||
public void setIdentifier(String identifier) { | ||
this.identifier = identifier; | ||
} | ||
|
||
public UpgradePhase getPhase() { | ||
return phase; | ||
} | ||
|
||
public void setPhase(UpgradePhase phase) { | ||
this.phase = phase; | ||
} | ||
|
||
public UpgradePriority getPriority() { | ||
return priority; | ||
} | ||
|
||
public void setPriority(UpgradePriority priority) { | ||
this.priority = priority; | ||
} | ||
|
||
public UpgradeType getType() { | ||
return type; | ||
} | ||
|
||
public void setType(UpgradeType type) { | ||
this.type = type; | ||
} | ||
UPDATED; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters