Class ProjectDiff
java.lang.Object
com.inductiveautomation.ignition.common.project.ProjectDiff
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ProjectDiff.AbsoluteDiff,- ProjectDiff.EffectiveDiff
The 
ChangeOperations associated with a project when pulled from the Gateway.- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classAn absolute diff, i.e.static final classAn effective diff, i.e.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanbooleanisEmpty()static ProjectDiff.AbsoluteDiffnewAbsoluteDiff(String projectName, List<ChangeOperation> changeOperations) Create anProjectDiff.AbsoluteDiff.static ProjectDiff.EffectiveDiffnewEffectiveDiff(String projectName, List<ChangeOperation> changeOperations) Create anProjectDiff.EffectiveDiff.toString()
- 
Method Details- 
isEmptypublic boolean isEmpty()- Returns:
- trueif this diff has an empty- ChangeOperationlist.
 
- 
getProjectName- Returns:
- the name of the project this diff applies to.
 
- 
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.
 
- 
toString
- 
newAbsoluteDiffpublic static ProjectDiff.AbsoluteDiff newAbsoluteDiff(String projectName, 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:
 
- 
newEffectiveDiffpublic static ProjectDiff.EffectiveDiff newEffectiveDiff(String projectName, 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:
 
 
-