|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IReconcilerStrategy.Status> org.electrocodeogram.cpc.reconciler.api.strategy.IReconcilerStrategy.Status
public static enum IReconcilerStrategy.Status
Return status indicator for IReconcilerStrategy.reconcile(ICloneFile, List, String, String, List, LinkedList, IReconciliationResult)
.
Enum Constant Summary | |
---|---|
BREAK
Indicates that this event should not be passed on to any more strategies and that the IReconciliationResult is in it's final stage. |
|
FULL
Indicates that the strategy successfully reconciled all (remaining) clone positions. |
|
PARTIAL
Indicates that the strategy made some modifications to the IReconciliationResult . |
|
SKIPPED
Indicates that the strategy did not make any modifications to the IReconciliationResult . |
Method Summary | |
---|---|
static IReconcilerStrategy.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IReconcilerStrategy.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IReconcilerStrategy.Status SKIPPED
IReconciliationResult
.
public static final IReconcilerStrategy.Status PARTIAL
IReconciliationResult
.
public static final IReconcilerStrategy.Status FULL
IReconciliationResult
is potentially in it's final state.
Further strategies will still be executed in order to have a chance to reject the result.
public static final IReconcilerStrategy.Status BREAK
IReconciliationResult
is in it's final stage.
A strategy will typically return this value if it detected a special situation which may confuse other strategies or if it needs to make sure that no other strategy will override its decision.
Method Detail |
---|
public static IReconcilerStrategy.Status[] values()
for (IReconcilerStrategy.Status c : IReconcilerStrategy.Status.values()) System.out.println(c);
public static IReconcilerStrategy.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |