Class ProjectChange
- java.lang.Object
 - 
- com.inductiveautomation.ignition.designer.project.ProjectChange
 
 
- 
public class ProjectChange extends java.lang.ObjectGiven to a project in order to apply all changes pulled from the Gateway, along with the choices made on resource conflicts. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectChange.ConflictChoice 
- 
Constructor Summary
Constructors Constructor Description ProjectChange(java.util.List<ProjectDiff> diffs) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectChange.ConflictChoicegetChoice(ChangeOperation op)java.util.List<ProjectDiff>getProjectDiffs()booleanisEmpty()voidputChoice(ChangeOperation op, ProjectChange.ConflictChoice choice) 
 - 
 
- 
- 
Constructor Detail
- 
ProjectChange
public ProjectChange(@Nullable java.util.List<ProjectDiff> diffs) 
 - 
 
- 
Method Detail
- 
getProjectDiffs
@Nonnull public java.util.List<ProjectDiff> getProjectDiffs()
 
- 
getChoice
public ProjectChange.ConflictChoice getChoice(ChangeOperation op)
- Returns:
 - a 
ProjectChange.ConflictChoiceif the givenChangeOperationhad a conflict, or remote if there was no conflict. 
 
- 
putChoice
public void putChoice(ChangeOperation op, ProjectChange.ConflictChoice choice)
 
- 
isEmpty
public boolean isEmpty()
- Returns:
 - true if all of the diffs in this change are empty.
 
 
 - 
 
 -