Class QuartzEndpoint.TriggerDescriptor

java.lang.Object
org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerDescriptor
Direct Known Subclasses:
QuartzEndpoint.CalendarIntervalTriggerDescriptor, QuartzEndpoint.CronTriggerDescriptor, QuartzEndpoint.CustomTriggerDescriptor, QuartzEndpoint.DailyTimeIntervalTriggerDescriptor, QuartzEndpoint.SimpleTriggerDescriptor
Enclosing class:
QuartzEndpoint

public abstract static class QuartzEndpoint.TriggerDescriptor extends Object
Base class for descriptions of a Trigger.
  • Constructor Details

    • TriggerDescriptor

      protected TriggerDescriptor(org.quartz.Trigger trigger, org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType type)
  • Method Details

    • buildSummary

      public Map<String,Object> buildSummary(boolean addTriggerSpecificSummary)
      Build the summary of the trigger.
      Parameters:
      addTriggerSpecificSummary - whether to add trigger-implementation specific summary.
      Returns:
      basic properties of the trigger
    • appendSummary

      protected abstract void appendSummary(Map<String,Object> content)
      Append trigger-implementation specific summary items to the specified content.
      Parameters:
      content - the summary of the trigger
    • buildDetails

      public Map<String,Object> buildDetails(org.quartz.Trigger.TriggerState triggerState, Map<String,Object> sanitizedDataMap)
      Build the full details of the trigger.
      Parameters:
      triggerState - the current state of the trigger
      sanitizedDataMap - a sanitized data map or null
      Returns:
      all properties of the trigger
    • appendDetails

      protected abstract void appendDetails(Map<String,Object> content)
      Append trigger-implementation specific details to the specified content.
      Parameters:
      content - the details of the trigger
    • putIfNoNull

      protected void putIfNoNull(Map<String,Object> content, String key, Object value)
    • getTrigger

      protected org.quartz.Trigger getTrigger()
    • getType

      protected org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType getType()