Package energy.eddie.cim.agnostic
Record Class PermissionCommand.UpdateTransmissionSchedule
java.lang.Object
java.lang.Record
energy.eddie.cim.agnostic.PermissionCommand.UpdateTransmissionSchedule
- Record Components:
transmissionSchedule- cron expression; effective schedule is capped at the data-need frequency
- All Implemented Interfaces:
PermissionCommand
- Enclosing interface:
PermissionCommand
public static record PermissionCommand.UpdateTransmissionSchedule(String regionConnectorId, UUID permissionId, String transmissionSchedule)
extends Record
implements PermissionCommand
Adjusts the transmission schedule for a permission.
-
Nested Class Summary
Nested classes/interfaces inherited from interface energy.eddie.cim.agnostic.PermissionCommand
PermissionCommand.Action, PermissionCommand.SetTransmissionEnabled, PermissionCommand.Terminate, PermissionCommand.UpdateTransmissionSchedule -
Constructor Summary
ConstructorsConstructorDescriptionUpdateTransmissionSchedule(String regionConnectorId, UUID permissionId, String transmissionSchedule) Creates an instance of aUpdateTransmissionSchedulerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepermissionIdrecord component.Returns the value of theregionConnectorIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransmissionSchedulerecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface energy.eddie.cim.agnostic.PermissionCommand
action
-
Constructor Details
-
UpdateTransmissionSchedule
public UpdateTransmissionSchedule(String regionConnectorId, UUID permissionId, String transmissionSchedule) Creates an instance of aUpdateTransmissionSchedulerecord class.- Parameters:
regionConnectorId- the value for theregionConnectorIdrecord componentpermissionId- the value for thepermissionIdrecord componenttransmissionSchedule- the value for thetransmissionSchedulerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
regionConnectorId
Returns the value of theregionConnectorIdrecord component.- Specified by:
regionConnectorIdin interfacePermissionCommand- Returns:
- the value of the
regionConnectorIdrecord component
-
permissionId
Returns the value of thepermissionIdrecord component.- Specified by:
permissionIdin interfacePermissionCommand- Returns:
- the value of the
permissionIdrecord component
-
transmissionSchedule
Returns the value of thetransmissionSchedulerecord component.- Returns:
- the value of the
transmissionSchedulerecord component
-