Class ProjectDiff
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.project.ProjectDiff
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Direct Known Subclasses:
- ProjectDiff.AbsoluteDiff,- ProjectDiff.EffectiveDiff
 
 public abstract class ProjectDiff extends java.lang.Object implements java.io.SerializableTheChangeOperations associated with a project when pulled from the Gateway.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classProjectDiff.AbsoluteDiffAn absolute diff, i.e.static classProjectDiff.EffectiveDiffAn effective diff, i.e.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ChangeOperation>getChangeOperations()java.lang.StringgetProjectName()booleanisAbsoluteDiff()booleanisEffectiveDiff()booleanisEmpty()static ProjectDiff.AbsoluteDiffnewAbsoluteDiff(java.lang.String projectName, java.util.List<ChangeOperation> changeOperations)Create anProjectDiff.AbsoluteDiff.static ProjectDiff.EffectiveDiffnewEffectiveDiff(java.lang.String projectName, java.util.List<ChangeOperation> changeOperations)Create anProjectDiff.EffectiveDiff.java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
isEmptypublic boolean isEmpty() - Returns:
- trueif this diff has an empty- ChangeOperationlist.
 
 - 
getProjectNamepublic java.lang.String getProjectName() - Returns:
- the name of the project this diff applies to.
 
 - 
getChangeOperationspublic java.util.List<ChangeOperation> getChangeOperations() - Returns:
- the list of ChangeOperations comprising this diff.
 
 - 
isAbsoluteDiffpublic boolean isAbsoluteDiff() - Returns:
- trueif this diff is an- ProjectDiff.AbsoluteDiff.
 
 - 
isEffectiveDiffpublic boolean isEffectiveDiff() - Returns:
- trueif this diff is an- ProjectDiff.EffectiveDiff.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
newAbsoluteDiffpublic static ProjectDiff.AbsoluteDiff newAbsoluteDiff(java.lang.String projectName, java.util.List<ChangeOperation> changeOperations) Create anProjectDiff.AbsoluteDiff.- Parameters:
- projectName- the name of the project the diff applies to.
- changeOperations- the list of- ChangeOperations.
- Returns:
- an ProjectDiff.AbsoluteDiff.
- See Also:
- ProjectDiff.AbsoluteDiff
 
 - 
newEffectiveDiffpublic static ProjectDiff.EffectiveDiff newEffectiveDiff(java.lang.String projectName, java.util.List<ChangeOperation> changeOperations) Create anProjectDiff.EffectiveDiff.- Parameters:
- projectName- the name of the project the diff applies to.
- changeOperations- the list of- ChangeOperations.
- Returns:
- an ProjectDiff.EffectiveDiff.
- See Also:
- ProjectDiff.EffectiveDiff
 
 
- 
 
-