com.deepshiftlabs.nerrvana
Class ReportActionAggregated

java.lang.Object
  extended by com.deepshiftlabs.nerrvana.ReportActionAggregated
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, Serializable

public class ReportActionAggregated
extends Object
implements hudson.model.Action, Serializable

Jenkins uses this class and accompanying file com\deepshiftlabs\nerrvana\ReportAction\index.jelly to create report link and report page

Version:
1.00
Author:
Deep Shift Labs, Victor Orlov
See Also:
Serialized Form

Constructor Summary
ReportActionAggregated(hudson.model.AbstractBuild<?,?> build, String executionResultsFilename, NerrvanaPluginSettings settings)
          Loads file with results of execution of all Nerrvana plugins in this build
 
Method Summary
 String getDisplayName()
           
 String getErrorText()
          Returns error text
 String getExecutionResultsFilename()
           
 String getExecutionStatus()
          Returns status label
 String getIconFileName()
           
 ArrayList<NerrvanaExecution> getList()
          Returns list of NerrvanaExecution object.
 String getMessageThreshold()
          Returns name of the UserMessageLevel which was set in the plugin settings as message threshold.
 hudson.model.AbstractBuild<?,?> getOwner()
           
 String getUrlName()
           
 boolean hasError()
          Checks if error text exists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportActionAggregated

public ReportActionAggregated(hudson.model.AbstractBuild<?,?> build,
                              String executionResultsFilename,
                              NerrvanaPluginSettings settings)
Loads file with results of execution of all Nerrvana plugins in this build

Parameters:
build -
executionResultsFilename -
settings - plugin settings
Method Detail

getExecutionResultsFilename

public String getExecutionResultsFilename()

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

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

getOwner

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

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

hasError

public boolean hasError()
Checks if error text exists

Returns:
true if error text is not null

getErrorText

public String getErrorText()
Returns error text

Returns:
error text

getList

public ArrayList<NerrvanaExecution> getList()
Returns list of NerrvanaExecution object. These objects contain results of test executions in Nerrvana for all Nerrvana plugins in this build

Returns:
list of NerrvanaExecutions

getExecutionStatus

public String getExecutionStatus()
Returns status label

Returns:
SUCCESS or FAILURE

getMessageThreshold

public String getMessageThreshold()
Returns name of the UserMessageLevel which was set in the plugin settings as message threshold.

Returns:


Copyright © 2004-2012 Deep Shift Labs. All Rights Reserved.