|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason com.atlassian.bamboo.v2.build.trigger.UnknownTriggerReason
public final class UnknownTriggerReason
Trigger Reason used for when a trigger reason has been removed or not determined. This should never be persisted as a valid value.
Field Summary | |
---|---|
static String |
UNKNOWN_TRIGGER_REASON_KEY
|
Fields inherited from class com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason |
---|
PLUGIN_KEY, textProvider |
Constructor Summary | |
---|---|
UnknownTriggerReason()
|
Method Summary | |
---|---|
String |
getName()
Gives the trigger reason |
String |
getNameForSentence()
Gives the trigger reason in a format that can be used in a sentence eg. |
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 |
Methods inherited from class com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason |
---|
getChildTriggerReason, getKey, init, setTextProvider, toString, updateIfValueNotNull |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String UNKNOWN_TRIGGER_REASON_KEY
Constructor Detail |
---|
public UnknownTriggerReason()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |