|
||||||||||
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 java.lang.String |
UNKNOWN_TRIGGER_REASON_KEY
|
Fields inherited from class com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason |
---|
PLUGIN_KEY, textProvider |
Constructor Summary | |
---|---|
UnknownTriggerReason()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Gives the trigger reason |
java.lang.String |
getNameForSentence()
Gives the trigger reason in a format that can be used in a sentence eg. |
void |
init(java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> fields)
Initializes the TriggerReason using data from the Map |
void |
init(java.lang.String key,
ResultsSummary resultsSummary)
Initializes the TriggerReason using data from the ResultsSummary |
void |
updateBuildResultsSummary(ResultsSummary resultsSummary)
Updates the TriggerReason given a ResultsSummary |
Methods inherited from class com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason |
---|
getChildTriggerReason, getKey, init, setTextProvider, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String UNKNOWN_TRIGGER_REASON_KEY
Constructor Detail |
---|
public UnknownTriggerReason()
Method Detail |
---|
public void init(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fields)
TriggerReason
TriggerReason
using data from the Map
public void init(java.lang.String key, ResultsSummary resultsSummary)
TriggerReason
TriggerReason
using data from the ResultsSummary
public void updateBuildResultsSummary(ResultsSummary resultsSummary)
TriggerReason
TriggerReason
given a ResultsSummary
public java.lang.String getName()
TriggerReason
public java.lang.String getNameForSentence()
TriggerReason
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |