com.ikokoon.serenity.hudson
Class SerenityResult
java.lang.Object
com.ikokoon.serenity.hudson.SerenityResult
- All Implemented Interfaces:
- ISerenityResult
public class SerenityResult
- extends java.lang.Object
- implements ISerenityResult
This is the result that will be used to render the results on the front end.
- Since:
- 12.08.09
- Version:
- 01.00
- Author:
- Michael Couck
|
Constructor Summary |
SerenityResult(hudson.model.AbstractBuild<?,?> abstractBuild)
Constructor takes the real action that generated the build for the project. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerenityResult
public SerenityResult(hudson.model.AbstractBuild<?,?> abstractBuild)
- Constructor takes the real action that generated the build for the project.
- Parameters:
abstractBuild - the build action that generated the build for the project
getDynamic
public java.lang.Object getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.lang.Exception
- This method is called from the front end. The result from the call will result in some piece of data being extracted from the database. For
example if the user clicks on a package the name of the package will be used to get that package from the database and will be made available
to the UI.
- Parameters:
token - the token from the front endreq - the Stapler request from the uirsp - the Stapler response for the ui
- Returns:
- the result which is this class
- Throws:
java.io.IOException
java.lang.Exception
getOwner
public java.lang.Object getOwner()
getName
public java.lang.String getName()
hasReport
public boolean hasReport()
getProject
public Project<?,?> getProject()
getPackages
public java.util.List<Package> getPackages()
getModel
public java.lang.String getModel()
getProjectModel
public java.lang.String getProjectModel()
getSource
public java.lang.String getSource()
getFile
public java.lang.String getFile(java.lang.String name)
getModel
public java.lang.String getModel(java.lang.String modelName,
Composite<?,?> composite)
printParameters
protected void printParameters(org.kohsuke.stapler.StaplerRequest req)
Copyright © 2010. All Rights Reserved.