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 Summary
Nested Classes Modifier and Type Class Description static classProjectDiff.AbsoluteDiffAn absolute diff, i.e.static classProjectDiff.EffectiveDiffAn effective diff, i.e. 
- 
Method Summary
All 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
- 
isEmpty
public boolean isEmpty()
- Returns:
 trueif this diff has an emptyChangeOperationlist.
 
- 
getProjectName
public java.lang.String getProjectName()
- Returns:
 - the name of the project this diff applies to.
 
 
- 
getChangeOperations
public java.util.List<ChangeOperation> getChangeOperations()
- Returns:
 - the list of 
ChangeOperations comprising this diff. 
 
- 
isAbsoluteDiff
public boolean isAbsoluteDiff()
- Returns:
 trueif this diff is anProjectDiff.AbsoluteDiff.
 
- 
isEffectiveDiff
public boolean isEffectiveDiff()
- Returns:
 trueif this diff is anProjectDiff.EffectiveDiff.
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
newAbsoluteDiff
public 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 ofChangeOperations.- Returns:
 - an 
ProjectDiff.AbsoluteDiff. - See Also:
 ProjectDiff.AbsoluteDiff
 
- 
newEffectiveDiff
public 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 ofChangeOperations.- Returns:
 - an 
ProjectDiff.EffectiveDiff. - See Also:
 ProjectDiff.EffectiveDiff
 
 - 
 
 -