Class TimeZoneResolverEvent<T>

Type Parameters:
T - the type of input data used for timezone resolution
Direct Known Subclasses:
AccountTimeZoneResolverEvent, AssetTimeZoneResolverEvent, BundlerHeaderTimeZoneResolverEvent, InterventionTimeZoneResolverEvent, MeterTimeZoneResolverEvent, OperationCenterTimeZoneResolverEvent, ResourceTimeZoneResolverEvent, ScenarioTimeZoneResolverEvent, SharedResourceTimeZoneResolverEvent, TechnicalObjectTimeZoneResolverEvent, TimesheetHeaderTimeZoneResolverEvent, TimesheetTimeZoneResolverEvent, WorkOrderHeaderTimeZoneResolverEvent, WorkOrderOperationTimeZoneResolverEvent

public abstract class TimeZoneResolverEvent<T> extends SimpleBusinessEvent<TimeZoneResolverInput<T>,TimeZone>
Abstract business event for resolving TimeZone objects from input data.
This event provides a framework for implementing timezone resolution logic based on various input types. It extends SimpleBusinessEvent to process TimeZoneResolverInput and produce TimeZone objects as output.
Subclasses must implement the specific logic for determining the appropriate timezone based on the input data provided through the TimeZoneResolverInput container.
Since:
1.0
  • Field Details

  • Constructor Details

    • TimeZoneResolverEvent

      protected TimeZoneResolverEvent(TimeZoneResolverInput<T> input)
      Creates a new timezone resolver event with the specified input.
      Parameters:
      input - the TimeZoneResolverInput containing the data for timezone resolution
  • Method Details

    • make

      public static <T> TimeZoneResolverEvent<T> make(Class<? extends TimeZoneResolverEvent<T>> cls, TimeZoneResolverInput<T> input)
      Factory method to create a timezone resolver event instance using reflection.
      Type Parameters:
      T - the type of input data used for timezone resolution
      Parameters:
      cls - the class of the timezone resolver event to instantiate
      input - the TimeZoneResolverInput containing the data for timezone resolution
      Returns:
      a new instance of the specified event class, or null if instantiation fails