|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IMergeStrategy.Status> org.electrocodeogram.cpc.merge.api.strategy.IMergeStrategy.Status
public static enum IMergeStrategy.Status
Return status indicator for IMergeStrategy.merge(IReadableMergeTask, IWriteableMergeResult, IMergeContext)
.
Enum Constant Summary | |
---|---|
BREAK
Indicates that this event should not be passed on to any more strategies and that the IMergeResult is in it's final stage. |
|
FULL
Indicates that the strategy successfully merged all (remaining) clone positions. |
|
PARTIAL
Indicates that the strategy made some modifications to the IMergeResult . |
|
SKIPPED
Indicates that the strategy did not make any modifications to the IMergeResult . |
Method Summary | |
---|---|
static IMergeStrategy.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IMergeStrategy.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 IMergeStrategy.Status SKIPPED
IMergeResult
.
public static final IMergeStrategy.Status PARTIAL
IMergeResult
.
public static final IMergeStrategy.Status FULL
IMergeResult
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 IMergeStrategy.Status BREAK
IMergeResult
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 IMergeStrategy.Status[] values()
for (IMergeStrategy.Status c : IMergeStrategy.Status.values()) System.out.println(c);
public static IMergeStrategy.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 |