public class SimpleArtifactDiff extends java.lang.Object implements ArtifactDiff
ArtifactDiffArtifactDiff.ChangeType, ArtifactDiff.Field<T>ARTIFACT_PATH, CHANGE_TYPE, ELEMENT_ID, ELEMENT_NAME, ELEMENT_TYPE, MERGE_INFO, REPORTED_BY, REPOSITORY_ID| Constructor and Description |
|---|
SimpleArtifactDiff() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(ArtifactDiff.Field<T> field)
Returns the value of a field.
|
<T> void |
set(ArtifactDiff.Field<T> field,
T value)
Sets a field.
|
java.lang.String |
toString() |
public <T> T get(ArtifactDiff.Field<T> field)
ArtifactDiffget in interface ArtifactDiffT - the data type of the fieldfield - the name of the fieldpublic <T> void set(ArtifactDiff.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