org.atemsource.atem.utility.compare.JsonComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atem-utility Show documentation
Show all versions of atem-utility Show documentation
Atem utilities for cloning, comparing and transforming
The newest version!
package org.atemsource.atem.utility.compare;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import org.atemsource.atem.api.EntityTypeRepository;
import org.atemsource.atem.api.type.EntityType;
import org.atemsource.atem.utility.common.EntityOperationReference;
import org.codehaus.jackson.node.ArrayNode;
import org.codehaus.jackson.node.ObjectNode;
public class JsonComparator
{
private Comparison arrayComparison;
private Comparison comparison;
private ComparisonBuilderFactory comparisonBuilderFactory;
@Inject
private EntityTypeRepository entityTypeRepository;
public Comparison getArrayComparison()
{
return arrayComparison;
}
public Comparison getNodeComparison()
{
return comparison;
}
@PostConstruct
public void initialize()
{
EntityType