|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TriggerReason
Interface that encapsulates the reason a build was triggered. Implementors may hold additional information
Method Summary | |
---|---|
TriggerReason |
getChildTriggerReason(BuildContext child,
ImmutablePlan plan)
If build A (triggered because of this TriggerReason) caused builds of plans X,Y,Z to trigger, this method will be called to determine trigger reasons for plans X, Y, Z. |
java.lang.String |
getKey()
The TriggerReason key |
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 |
Method Detail |
---|
void init(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fields)
TriggerReason
using data from the Map
key
- fields
- void init(java.lang.String key, ResultsSummary resultsSummary)
TriggerReason
using data from the ResultsSummary
key
- resultsSummary
- void updateBuildResultsSummary(ResultsSummary resultsSummary)
TriggerReason
given a ResultsSummary
resultsSummary
- java.lang.String getKey()
TriggerReason
key
java.lang.String getName()
java.lang.String getNameForSentence()
@NotNull TriggerReason getChildTriggerReason(BuildContext child, ImmutablePlan plan)
child
- plan
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |