com.sonyericsson.jenkins.plugins.bfa
Class TransientCauseManagement

java.lang.Object
  extended by com.sonyericsson.jenkins.plugins.bfa.BfaGraphAction
      extended by com.sonyericsson.jenkins.plugins.bfa.CauseManagement
          extended by com.sonyericsson.jenkins.plugins.bfa.TransientCauseManagement
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject, hudson.model.RootAction

public class TransientCauseManagement
extends CauseManagement

A CauseManagement page that appears on all Project pages via TransientActionProvider.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.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
 
Fields inherited from class com.sonyericsson.jenkins.plugins.bfa.BfaGraphAction
DEFAULT_GRAPH_HEIGHT, DEFAULT_GRAPH_WIDTH, EXCLUDE_ABORTED, ID_SEPARATOR, URL_PARAM_ALL_MASTERS, URL_PARAM_SHOW_ABORTED, URL_PARAM_TIME_PERIOD, URL_PARAM_VALUE_MAX, URL_PARAM_VALUE_MONTH, URL_PARAM_VALUE_TODAY, URL_PARAM_WHICH_GRAPH
 
Constructor Summary
TransientCauseManagement(hudson.model.Item owner)
          Standard constructor.
 
Method Summary
 hudson.model.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, getGraph, getGraphCacheId, getGraphsPageTitle, getGraphTypes, getIconFileName, getImageUrl, getIndicationDescriptors, getInstance, getPermission, getRemovePermission, getShallowCauses, getUrlName, isError, isUnderTest, showGraphDelayText, showMasterSwitch
 
Methods inherited from class com.sonyericsson.jenkins.plugins.bfa.BfaGraphAction
getDefaultGraphHeight, getDefaultGraphWidth, getGraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientCauseManagement

public TransientCauseManagement(hudson.model.Item owner)
Standard constructor.

Parameters:
owner - the "owner" of this action. Used to render the side panel.
Method Detail

getOwner

public hudson.model.ModelObject getOwner()
Description copied from class: CauseManagement
The "owner" of this Action. Default this would be Hudson.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 class CauseManagement
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 class CauseManagement
Returns:
the owner's URL or some place else to redirect the user after save.


Copyright © 2004-2014. All Rights Reserved.