public enum RelationshipType extends java.lang.Enum<RelationshipType>
| Enum Constant and Description |
|---|
CHANGE_SIGNATURE
Represents matched nodes whose signature changed.
|
CONVERT_TYPE
Represents nodes that preserved their identities between revisions, but have different types.
|
EXTRACT
Represents that the node after is extracted from the node before.
|
EXTRACT_MOVE
Represents that the node after is extracted from the node before and moved to another parent node.
|
EXTRACT_SUPER
Represents that the node after is a supertype extracted from the node before.
|
INLINE
Represents that the node before is inlined to the node after.
|
INTERNAL_MOVE
Represents matched nodes whose parent nodes changed, but not their root parent nodes.
|
INTERNAL_MOVE_RENAME
Represents matched nodes with a combination of INTERNAL_MOVE and RENAME.
|
MOVE
Represents matched nodes whose root parent nodes changed.
|
MOVE_RENAME
Represents matched nodes with a combination of MOVE and RENAME.
|
PULL_UP
Represents a member of a type that was pulled up to a supertype.
|
PULL_UP_SIGNATURE
Represents a member of a type whose signature was pulled up to a subtype, keeping its implementation in the original type.
|
PUSH_DOWN
Represents a member of a type that was pushed down to a subtype.
|
PUSH_DOWN_IMPL
Represents a member of a type whose implementation was pushed down to a subtype, keeping its signature in the original type.
|
RENAME
Represents matched nodes whose names changed.
|
SAME
Represents nodes that preserved their identities between revisions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isById() |
boolean |
isMatching() |
boolean |
isUnmarkAdded() |
boolean |
isUnmarkRemoved() |
static RelationshipType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelationshipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationshipType SAME
public static final RelationshipType CONVERT_TYPE
public static final RelationshipType CHANGE_SIGNATURE
public static final RelationshipType PULL_UP
public static final RelationshipType PUSH_DOWN
public static final RelationshipType PULL_UP_SIGNATURE
public static final RelationshipType PUSH_DOWN_IMPL
public static final RelationshipType RENAME
public static final RelationshipType INTERNAL_MOVE
public static final RelationshipType MOVE
public static final RelationshipType INTERNAL_MOVE_RENAME
public static final RelationshipType MOVE_RENAME
public static final RelationshipType EXTRACT_SUPER
public static final RelationshipType EXTRACT
public static final RelationshipType EXTRACT_MOVE
public static final RelationshipType INLINE
public static RelationshipType[] values()
for (RelationshipType c : RelationshipType.values()) System.out.println(c);
public static RelationshipType 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 namejava.lang.NullPointerException - if the argument is nullpublic boolean isUnmarkRemoved()
public boolean isUnmarkAdded()
public boolean isMatching()
public boolean isById()