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.SerializableRepresents 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 classResourceSignature.GsonAdapter
-
Constructor Summary
Constructors Constructor Description ResourceSignature(ProjectResourceId resourceId, byte[] signature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ProjectResourceIdgetResourceId()byte[]getSignature()inthashCode()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-