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
A CauseManagement page that appears on all Project pages via TransientActionProvider.
Author:
Robert Sandell <robert.sandell@sonyericsson.com>
  • Constructor Details

    • TransientCauseManagement

      public TransientCauseManagement(Item owner)
      Standard constructor.
      Parameters:
      owner - the "owner" of this action. Used to render the side panel.
  • Method Details

    • getOwner

      public 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.