Class TransientCauseManagement
- java.lang.Object
-
- com.sonyericsson.jenkins.plugins.bfa.CauseManagement
-
- com.sonyericsson.jenkins.plugins.bfa.TransientCauseManagement
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
public class TransientCauseManagement extends CauseManagement
ACauseManagement
page that appears on all Project pages viaTransientActionProvider
.- Author:
- Robert Sandell <robert.sandell@sonyericsson.com>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class com.sonyericsson.jenkins.plugins.bfa.CauseManagement
GRAPH_PAGE_TITLE, NEW_CAUSE_DESCRIPTION, NEW_CAUSE_DYNAMIC_ID, NEW_CAUSE_NAME, REQUEST_CAUSE_MANAGEMENT_ERROR, SESSION_REMOVED_FAILURE_CAUSE, URL_NAME
-
-
Constructor Summary
Constructors Constructor Description TransientCauseManagement(Item owner)
Standard constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelObject
getOwner()
The "owner" of this Action.protected String
getOwnerUrl()
Where to redirect after the form has been saved, probably to the owner.-
Methods inherited from class com.sonyericsson.jenkins.plugins.bfa.CauseManagement
doRemoveConfirm, getDisplayName, getDynamic, getErrorMessage, getIconFileName, getImageUrl, getIndicationDescriptors, getInstance, getPermission, getRemovePermission, getShallowCauses, getUrlName, isError, isUnderTest
-
-
-
-
Constructor Detail
-
TransientCauseManagement
public TransientCauseManagement(Item owner)
Standard constructor.- Parameters:
owner
- the "owner" of this action. Used to render the side panel.
-
-
Method Detail
-
getOwner
public ModelObject getOwner()
Description copied from class:CauseManagement
The "owner" of this Action. Default this would beHudson.getInstance()
but if the class is included in some build or something we might want to be able to easier change the side panel for example.- Overrides:
getOwner
in classCauseManagement
- Returns:
- the holder of the beer.
-
getOwnerUrl
protected String getOwnerUrl()
Description copied from class:CauseManagement
Where to redirect after the form has been saved, probably to the owner.- Overrides:
getOwnerUrl
in classCauseManagement
- Returns:
- the owner's URL or some place else to redirect the user after save.
-
-