Class ProjectSnapshot
- java.lang.Object
-
- com.inductiveautomation.ignition.common.project.ProjectSnapshot
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RuntimeProject.EffectiveProjectSnapshot
public class ProjectSnapshot extends java.lang.Object implements java.io.Serializable
A lightweight immutable "snapshot" of aProject
.The project name and a
Set
of itsResourceSignature
s.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectSnapshot.GsonAdapter
-
Constructor Summary
Constructors Constructor Description ProjectSnapshot(java.lang.String projectName, ProjectManifest projectManifest, java.util.Set<ResourceSignature> signatures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ProjectManifest
getProjectManifest()
java.lang.String
getProjectName()
com.google.common.collect.ImmutableSet<ResourceSignature>
getSignatures()
int
hashCode()
-
-
-
Constructor Detail
-
ProjectSnapshot
public ProjectSnapshot(@Nonnull java.lang.String projectName, @Nonnull ProjectManifest projectManifest, @Nonnull java.util.Set<ResourceSignature> signatures)
-
-
Method Detail
-
getProjectName
@Nonnull public java.lang.String getProjectName()
-
getProjectManifest
@Nonnull public ProjectManifest getProjectManifest()
-
getSignatures
@Nonnull public com.google.common.collect.ImmutableSet<ResourceSignature> getSignatures()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-