Class TimeZoneResolverEvent<T>
java.lang.Object
overit.geocall.bl.GenericEvent<TimeZone>
overit.geocall.bl.BusinessEvent<TimeZone>
overit.geocall.bl.SimpleBusinessEvent<TimeZoneResolverInput<T>,TimeZone>
overit.geocallapp.utilities.core.timezone.event.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
This event provides a framework for implementing timezone resolution logic based on various input types. It extends
Subclasses must implement the specific logic for determining the appropriate timezone based on the input data provided through the
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
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
FieldsFields inherited from class overit.geocall.bl.SimpleBusinessEvent
inputFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new timezone resolver event with the specified input. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TimeZoneResolverEvent<T> make(Class<? extends TimeZoneResolverEvent<T>> cls, TimeZoneResolverInput<T> input) Factory method to create a timezone resolver event instance using reflection.Methods inherited from class overit.geocall.bl.SimpleBusinessEvent
getInputMethods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, defineResult, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
Field Details
-
LOG
-
-
Constructor Details
-
TimeZoneResolverEvent
Creates a new timezone resolver event with the specified input.- Parameters:
input- theTimeZoneResolverInputcontaining 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 instantiateinput- theTimeZoneResolverInputcontaining the data for timezone resolution- Returns:
- a new instance of the specified event class, or null if instantiation fails
-