Class ScheduledJobRef

java.lang.Object
com.broadleafcommerce.common.messaging.domain.ScheduledJobRef

public class ScheduledJobRef extends Object
A reference to a ScheduledJob of the scheduled job microservice.
Author:
Chad Harchar (charchar)
  • Constructor Details

  • Method Details

    • getType

      public String getType()
    • getDetails

      public List<ScheduledJobDetailRef> getDetails()
    • getTenantId

      public String getTenantId()
      The ID of the associated tenant.
      Returns:
      ID of the associated tenant
    • getLastExecuted

      public Instant getLastExecuted()
      The date on which the job last executed.
      Returns:
      The date on which the job last executed.
    • getAdditionalParameters

      public Map<String,Object> getAdditionalParameters()
      Additional information that can be used to add parameters for the scheduled job listeners.
      Returns:
      the additional parameters for this job
    • setType

      public void setType(String type)
    • setDetails

      public void setDetails(List<ScheduledJobDetailRef> details)
    • setTenantId

      public void setTenantId(String tenantId)
      The ID of the associated tenant.
      Parameters:
      tenant - ID of the associated tenant
    • setLastExecuted

      public void setLastExecuted(Instant lastExecuted)
      The date on which the job last executed.
      Parameters:
      lastExecuted - The date on which the job last executed.
    • setAdditionalParameters

      public void setAdditionalParameters(Map<String,Object> additionalParameters)
      Additional information that can be used to add parameters for the scheduled job listeners.
      Parameters:
      additionalParameters - the additional parameters for this job
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object