@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Conflict extends Object implements Serializable, Cloneable, StructuredPojo
Information about conflicts in a merge operation.
| Constructor and Description |
|---|
Conflict() |
| Modifier and Type | Method and Description |
|---|---|
Conflict |
clone() |
boolean |
equals(Object obj) |
ConflictMetadata |
getConflictMetadata()
Metadata about a conflict in a merge operation.
|
List<MergeHunk> |
getMergeHunks()
A list of hunks that contain the differences between files or lines causing the conflict.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
|
void |
setMergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
String |
toString()
Returns a string representation of this object.
|
Conflict |
withConflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
|
Conflict |
withMergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
Conflict |
withMergeHunks(MergeHunk... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
public void setConflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
conflictMetadata - Metadata about a conflict in a merge operation.public ConflictMetadata getConflictMetadata()
Metadata about a conflict in a merge operation.
public Conflict withConflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
conflictMetadata - Metadata about a conflict in a merge operation.public List<MergeHunk> getMergeHunks()
A list of hunks that contain the differences between files or lines causing the conflict.
public void setMergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
mergeHunks - A list of hunks that contain the differences between files or lines causing the conflict.public Conflict withMergeHunks(MergeHunk... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
NOTE: This method appends the values to the existing list (if any). Use
setMergeHunks(java.util.Collection) or withMergeHunks(java.util.Collection) if you want to
override the existing values.
mergeHunks - A list of hunks that contain the differences between files or lines causing the conflict.public Conflict withMergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
mergeHunks - A list of hunks that contain the differences between files or lines causing the conflict.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.