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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn absolute diff, i.e.static final classAn effective diff, i.e. -
Method Summary
Modifier 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
-
isEmpty
public boolean isEmpty()- Returns:
trueif this diff has an emptyChangeOperationlist.
-
getProjectName
- Returns:
- the name of the project this diff applies to.
-
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
-
newAbsoluteDiff
public 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 ofChangeOperations.- Returns:
- an
ProjectDiff.AbsoluteDiff. - See Also:
-
newEffectiveDiff
public 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 ofChangeOperations.- Returns:
- an
ProjectDiff.EffectiveDiff. - See Also:
-