hudson.plugins.serenitec.util
Class ProjectDetails

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

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

Renders details of the project specific line number.

Author:
Georges Bossert

Constructor Summary
ProjectDetails(hudson.model.AbstractBuild<?,?> owner, java.lang.String details, java.util.List<?> data)
           
 
Method Summary
 void doTrend(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 java.util.List<?> getData()
           
 java.lang.String getDisplayName()
          Title of the page in the navigation anchor bar
 ResultAction<?> getLastAction()
          Returns the last valid result action.
 hudson.model.AbstractBuild<?,?> getLastFinishedBuild()
          Returns the last finished build.
 hudson.model.AbstractBuild<?,?> getOwner()
          Getter for owner
 boolean isEntry()
           
 boolean isErrors()
           
 boolean isFixedErrors()
           
 boolean isNewErrors()
           
 boolean isNotFixedErrors()
           
 boolean isPatterns()
           
 boolean isTestedRules()
           
 void setData(java.util.List<?> data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectDetails

public ProjectDetails(hudson.model.AbstractBuild<?,?> owner,
                      java.lang.String details,
                      java.util.List<?> data)
Method Detail

getData

public java.util.List<?> getData()

setData

public void setData(java.util.List<?> data)

isTestedRules

public boolean isTestedRules()

isErrors

public boolean isErrors()

isNewErrors

public boolean isNewErrors()

isFixedErrors

public boolean isFixedErrors()

isNotFixedErrors

public boolean isNotFixedErrors()

isPatterns

public boolean isPatterns()

isEntry

public boolean isEntry()

doTrend

public void doTrend(org.kohsuke.stapler.StaplerRequest request,
                    org.kohsuke.stapler.StaplerResponse response)
             throws java.io.IOException
Throws:
java.io.IOException

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

getOwner

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

Returns:
the AbstractBuild

getDisplayName

public java.lang.String getDisplayName()
Title of the page in the navigation anchor bar

Specified by:
getDisplayName in interface hudson.model.ModelObject
Returns:
the title


Copyright © 2008. All Rights Reserved.