Class ALfnJobEvent<T extends ALfnJob>

java.lang.Object
com.luciad.fusion.platform.event.object.ALfnEvent
com.luciad.fusion.platform.event.object.jobs.ALfnJobEvent<T>
All Implemented Interfaces:
org.springframework.core.ResolvableTypeProvider
Direct Known Subclasses:
TLfnJobCreatedEvent, TLfnJobDeletedEvent, TLfnJobSchedulingFailedEvent, TLfnJobUpdatedEvent

public abstract class ALfnJobEvent<T extends ALfnJob> extends ALfnEvent implements org.springframework.core.ResolvableTypeProvider
Abstract class that all LuciadFusion events regarding ALfnJob will extend.
Since:
2022.1
  • Method Details

    • getJob

      public T getJob()
      Get the ALfnJob object for which this event is published.
      Returns:
      the ALfnJob object for which this event is published
    • getPropertiesString

      protected String getPropertiesString()
      Description copied from class: ALfnEvent
      Get the String object that is used in the ALfnEvent.toString() method for describing this event's properties.

      Implementing classes can override this method for including specific properties, as a comma-separated list of key-value pairs.
      For example, if a subclass has a name property, the overridden version of this method should be:

        @Override
         protected String getPropertiesString() {
           return super.getPropertiesString() + ", name='" + getName() + "'";
         }
       
      Overrides:
      getPropertiesString in class ALfnEvent
      Returns:
      the String that is used in the ALfnEvent.toString() method.
    • getResolvableType

      public org.springframework.core.ResolvableType getResolvableType()
      Specified by:
      getResolvableType in interface org.springframework.core.ResolvableTypeProvider
    • equals

      public boolean equals(Object aO)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object