hudson.plugins.serenitec.util
Class ErrorDetails

java.lang.Object
  extended by hudson.plugins.serenitec.util.ErrorDetails
All Implemented Interfaces:
hudson.model.ModelObject

public class ErrorDetails
extends java.lang.Object
implements hudson.model.ModelObject


Constructor Summary
ErrorDetails(hudson.model.AbstractBuild<?,?> Owner, Project Projet, java.lang.String error)
           
 
Method Summary
 void doRepartitionPie(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Display the trend graph.
 java.lang.String getDisplayName()
           
 ReportEntry getEntry()
           
 ResultAction<?> getLastAction()
          Returns the last valid result action.
 hudson.model.AbstractBuild<?,?> getLastFinishedBuild()
          Returns the last finished build.
 hudson.model.AbstractBuild<?,?> getOwner()
          Getter for owner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorDetails

public ErrorDetails(hudson.model.AbstractBuild<?,?> Owner,
                    Project Projet,
                    java.lang.String error)
Method Detail

getOwner

public hudson.model.AbstractBuild<?,?> getOwner()
Getter for owner

Returns:
the AbstractBuild

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.ModelObject

getEntry

public ReportEntry getEntry()

doRepartitionPie

public void doRepartitionPie(org.kohsuke.stapler.StaplerRequest request,
                             org.kohsuke.stapler.StaplerResponse response)
                      throws java.io.IOException
Display the trend graph. Delegates to the the associated ResultAction.

Parameters:
request - Stapler request
response - Stapler response
Throws:
java.io.IOException - in case of an error in ResultAction.doGraph(StaplerRequest, StaplerResponse, int)

getLastAction

public ResultAction<?> getLastAction()
Returns the last valid result action.

Returns:
the last valid result action, or null if no such action is found

getLastFinishedBuild

public hudson.model.AbstractBuild<?,?> getLastFinishedBuild()
Returns the last finished build.

Returns:
the last finished build or null if there is no such build


Copyright © 2008. All Rights Reserved.