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
Base class for descriptions of a
Trigger
.-
Constructor Summary
ModifierConstructorDescriptionprotected
TriggerDescriptor
(org.quartz.Trigger trigger, org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType type) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
appendDetails
(Map<String, Object> content) Append trigger-implementation specific details to the specifiedcontent
.protected abstract void
appendSummary
(Map<String, Object> content) Append trigger-implementation specific summary items to the specifiedcontent
.buildDetails
(org.quartz.Trigger.TriggerState triggerState, Map<String, Object> sanitizedDataMap) Build the full details of the trigger.buildSummary
(boolean addTriggerSpecificSummary) Build the summary of the trigger.protected org.quartz.Trigger
protected org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType
getType()
protected void
-
Constructor Details
-
TriggerDescriptor
protected TriggerDescriptor(org.quartz.Trigger trigger, org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType type)
-
-
Method Details
-
buildSummary
Build the summary of the trigger.- Parameters:
addTriggerSpecificSummary
- whether to add trigger-implementation specific summary.- Returns:
- basic properties of the trigger
-
appendSummary
Append trigger-implementation specific summary items to the specifiedcontent
.- 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 triggersanitizedDataMap
- a sanitized data map ornull
- Returns:
- all properties of the trigger
-
appendDetails
Append trigger-implementation specific details to the specifiedcontent
.- Parameters:
content
- the details of the trigger
-
putIfNoNull
-
getTrigger
protected org.quartz.Trigger getTrigger() -
getType
protected org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType getType()
-