public class ScheduledTriggerReason extends AbstractTriggerReason
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.lang3.time.FastDateFormat |
DATE_FORMAT |
static String |
DATE_FORMAT_STRING |
static String |
KEY |
static String |
TRIGGER_SCHEDULED_DATE |
PLUGIN_KEY, textProvider| Constructor and Description |
|---|
ScheduledTriggerReason() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gives the trigger reason
|
String |
getNameForSentence()
Gives the trigger reason in a format that can be used in a sentence
eg.
|
PlanResultKey |
getPlanResultKey() |
Date |
getScheduledDate() |
String |
getUserScheduledBy() |
void |
init(String key,
Map<String,String> fields)
Initializes the
TriggerReason using data from the Map |
void |
init(String key,
ResultsSummary resultsSummary)
Initializes the
TriggerReason using data from the ResultsSummary |
void |
updateCustomData(BambooCustomDataAware customDataAware)
Updates the
TriggerReason given a BambooCustomDataAware |
getChildTriggerReason, getKey, init, setTextProvider, toString, updateIfValueNotNullpublic static final String KEY
public static final String TRIGGER_SCHEDULED_DATE
public static final String DATE_FORMAT_STRING
public static final org.apache.commons.lang3.time.FastDateFormat DATE_FORMAT
public void init(String key, Map<String,String> fields)
TriggerReasonTriggerReason using data from the Mappublic void init(String key, @NotNull ResultsSummary resultsSummary)
TriggerReasonTriggerReason using data from the ResultsSummarypublic void updateCustomData(@NotNull
BambooCustomDataAware customDataAware)
TriggerReasonTriggerReason given a BambooCustomDataAwarepublic String getName()
TriggerReasonpublic String getNameForSentence()
TriggerReasonpublic Date getScheduledDate()
@Nullable public PlanResultKey getPlanResultKey()
@Nullable public String getUserScheduledBy()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.