Record Class SinkLifecycleEvent.SinkRenamed
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.storeforward.SinkLifecycleEvent.SinkRenamed
- Record Components:
oldStorageKey- the storage key containing the engine ID and old sink IDnewSinkId- the new sink IDflavor- the flavor identifying which pipelines are affected by this rename
- All Implemented Interfaces:
SinkLifecycleEvent
- Enclosing interface:
SinkLifecycleEvent
public static record SinkLifecycleEvent.SinkRenamed(StorageKey oldStorageKey, String newSinkId, PersistentFlavor<?> flavor)
extends Record
implements SinkLifecycleEvent
Event indicating that a sink has been renamed. The rename is scoped to pipelines matching the
specified flavor.
- Since:
- 8.3.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface SinkLifecycleEvent
SinkLifecycleEvent.SinkDeleted, SinkLifecycleEvent.SinkRenamed -
Constructor Summary
ConstructorsConstructorDescriptionSinkRenamed(StorageKey oldStorageKey, String newSinkId, PersistentFlavor<?> flavor) Validates all parameters are non-null and newSinkId is not blank. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.flavor()Returns the value of theflavorrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thenewSinkIdrecord component.Returns the value of theoldStorageKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SinkRenamed
Validates all parameters are non-null and newSinkId is not blank.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
oldStorageKey
Returns the value of theoldStorageKeyrecord component.- Returns:
- the value of the
oldStorageKeyrecord component
-
newSinkId
-
flavor
-