com.ikokoon.serenity.hudson
Class SerenityBuildAction

java.lang.Object
  extended by com.ikokoon.serenity.hudson.SerenityBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, org.kohsuke.stapler.StaplerProxy

public class SerenityBuildAction
extends java.lang.Object
implements org.kohsuke.stapler.StaplerProxy, hudson.model.Action

This is the Stapler 'proxy'. It serves the chain of results objects to the front end.

Since:
12.08.09
Version:
01.00
Author:
Michael Couck

Constructor Summary
SerenityBuildAction(hudson.model.AbstractBuild owner, ISerenityResult result)
          Constructor takes the Hudson build owner and the result that will be presented to the front end for displaying the data from teh build and metrics.
 
Method Summary
 java.lang.String getDisplayName()
          
 java.lang.String getIconFileName()
          
 ISerenityResult getResult()
           
 java.lang.Object getTarget()
          
 java.lang.String getUrlName()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerenityBuildAction

public SerenityBuildAction(hudson.model.AbstractBuild owner,
                           ISerenityResult result)
Constructor takes the Hudson build owner and the result that will be presented to the front end for displaying the data from teh build and metrics.

Parameters:
owner - the build owner that generated the build
result - the result from Serenity that will be presented to the front end
Method Detail

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public java.lang.String getIconFileName()

Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public java.lang.String getUrlName()

Specified by:
getUrlName in interface hudson.model.Action

getTarget

public java.lang.Object getTarget()

Specified by:
getTarget in interface org.kohsuke.stapler.StaplerProxy

getResult

public ISerenityResult getResult()


Copyright © 2010. All Rights Reserved.