Class ResourceSignature
- java.lang.Object
-
- com.inductiveautomation.ignition.common.project.resource.ResourceSignature
-
- All Implemented Interfaces:
java.io.Serializable
public class ResourceSignature extends java.lang.Object implements java.io.Serializable
Represents the content of a resource within the context of aProjectResourceId
, i.e. the content of a resource and the project it's located in + ResourceType + path to the resource.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceSignature.GsonAdapter
-
Constructor Summary
Constructors Constructor Description ResourceSignature(ProjectResourceId resourceId, byte[] signature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ProjectResourceId
getResourceId()
byte[]
getSignature()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ResourceSignature
public ResourceSignature(@Nonnull ProjectResourceId resourceId, @Nonnull byte[] signature)
-
-
Method Detail
-
getResourceId
@Nonnull public ProjectResourceId getResourceId()
-
getSignature
@Nonnull public byte[] getSignature()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-