Class QuartzEndpoint.TriggerDescription
java.lang.Object
org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerDescription
- Direct Known Subclasses:
QuartzEndpoint.CalendarIntervalTriggerDescription
,QuartzEndpoint.CronTriggerDescription
,QuartzEndpoint.CustomTriggerDescription
,QuartzEndpoint.DailyTimeIntervalTriggerDescription
,QuartzEndpoint.SimpleTriggerDescription
- Enclosing class:
- QuartzEndpoint
Base class for descriptions of a
Trigger
.-
Constructor Summary
ModifierConstructorDescriptionprotected
TriggerDescription
(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
-
TriggerDescription
protected TriggerDescription(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()
-