public class SimpleArtifactMergeInfo extends java.lang.Object implements ArtifactMergeInfo
ArtifactMergeInfo
.ArtifactMergeInfo.ConflictType, ArtifactMergeInfo.Field<T>, ArtifactMergeInfo.Result
CONFLICT_TYPE, IS_CONFLICT, MAINLINE_VALUE, REPLACEMENT, RESULT, SANDBOX_VALUE
Constructor and Description |
---|
SimpleArtifactMergeInfo() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(ArtifactMergeInfo.Field<T> field)
Returns the value of a field.
|
<T> void |
set(ArtifactMergeInfo.Field<T> field,
T value)
Sets a field.
|
java.lang.String |
toString() |
public <T> T get(ArtifactMergeInfo.Field<T> field)
ArtifactMergeInfo
get
in interface ArtifactMergeInfo
T
- the data type of the fieldfield
- the name of the fieldpublic <T> void set(ArtifactMergeInfo.Field<T> field, T value)
T
- the data type of the fieldfield
- the name of the fieldvalue
- the value of the fieldpublic java.lang.String toString()
toString
in class java.lang.Object