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, updateIfValueNotNull
public 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)
TriggerReason
TriggerReason
using data from the Map
public void init(String key, @NotNull ResultsSummary resultsSummary)
TriggerReason
TriggerReason
using data from the ResultsSummary
public void updateCustomData(@NotNull BambooCustomDataAware customDataAware)
TriggerReason
TriggerReason
given a BambooCustomDataAware
public String getName()
TriggerReason
public String getNameForSentence()
TriggerReason
public Date getScheduledDate()
@Nullable public PlanResultKey getPlanResultKey()
@Nullable public String getUserScheduledBy()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.