new MergeConflict( [json])
Class description
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
json |
Object |
<optional> |
Extends
Methods
-
getDuplicateResource()
-
Get the duplicateResource
Returns:
duplicateResource- Type
- ResourceReference
-
getSurvivorResource()
-
Get the survivorResource
Returns:
survivorResource- Type
- ResourceReference
-
init(json)
-
Initialize from JSON
Parameters:
Name Type Description json
Object - Overrides:
Returns:
MergeConflict this -
<static> isInstance(obj)
-
Check whether the given object is an instance of this class.
Parameters:
Name Type Description obj
Object Returns:
- Type
- Boolean
-
setDuplicateResource(duplicateResource)
-
Set the duplicateResource
Parameters:
Name Type Description duplicateResource
ResourceReference Returns:
this- Type
- MergeConflict
-
setSurvivorResource(survivorResource)
-
Set the survivorResource
Parameters:
Name Type Description survivorResource
ResourceReference Returns:
this- Type
- MergeConflict
-
toJSON()
-
Export the object as JSON
- Overrides:
Returns:
JSON object- Type
- Object