public abstract static class QuartzEndpoint.TriggerDescription extends Object
Trigger
.Modifier | Constructor and Description |
---|---|
protected |
TriggerDescription(org.quartz.Trigger trigger,
org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType type) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
appendDetails(Map<String,Object> content)
Append trigger-implementation specific details to the specified
content . |
protected abstract void |
appendSummary(Map<String,Object> content)
Append trigger-implementation specific summary items to the specified
content . |
Map<String,Object> |
buildDetails(org.quartz.Trigger.TriggerState triggerState,
Map<String,Object> sanitizedDataMap)
Build the full details of the trigger.
|
Map<String,Object> |
buildSummary(boolean addTriggerSpecificSummary)
Build the summary of the trigger.
|
protected org.quartz.Trigger |
getTrigger() |
protected org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType |
getType() |
protected void |
putIfNoNull(Map<String,Object> content,
String key,
Object value) |
protected TriggerDescription(org.quartz.Trigger trigger, org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType type)
public Map<String,Object> buildSummary(boolean addTriggerSpecificSummary)
addTriggerSpecificSummary
- whether to add trigger-implementation specific
summary.protected abstract void appendSummary(Map<String,Object> content)
content
.content
- the summary of the triggerpublic Map<String,Object> buildDetails(org.quartz.Trigger.TriggerState triggerState, Map<String,Object> sanitizedDataMap)
triggerState
- the current state of the triggersanitizedDataMap
- a sanitized data map or null
protected abstract void appendDetails(Map<String,Object> content)
content
.content
- the details of the triggerprotected org.quartz.Trigger getTrigger()
protected org.springframework.boot.actuate.quartz.QuartzEndpoint.TriggerType getType()