Class EmotionalJenkinsAction
java.lang.Object
org.jenkinsci.plugins.emotional_jenkins.EmotionalJenkinsAction
- All Implemented Interfaces:
Action,ModelObject,RunAction2
Attached to a build by
EmotionalJenkinsPublisher. The mood is computed from the build result when the page
is rendered, so a Pipeline step called from post { always { ... } } still reflects the final result.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDescription, getEvent, getGroup, getSemantic, isVisibleInContextMenu
-
Constructor Details
-
EmotionalJenkinsAction
public EmotionalJenkinsAction()
-
-
Method Details
-
onAttached
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getResult
- Returns:
- the build result, or
nullwhile the build is still running without a result.
-
getImageFileName
- Returns:
- the image Mr. Jenkins should show for the current result.
-
getMood
- Returns:
happy,worried,angryordisappointed.
-