hudson.plugins.pmd.util
Class ErrorDetail

java.lang.Object
  extended by hudson.plugins.pmd.util.ErrorDetail
All Implemented Interfaces:
hudson.model.ModelObject

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

Result object to visualize the errors during execution of the plug-in.

Author:
Ulli Hafner

Constructor Summary
ErrorDetail(hudson.model.AbstractBuild<?,?> owner, java.util.Collection<java.lang.String> errors)
          Creates a new instance of ErrorDetail.
 
Method Summary
 java.lang.String getDisplayName()
          
 java.util.Collection<java.lang.String> getErrors()
          Returns the errors in the project.
 hudson.model.AbstractBuild<?,?> getOwner()
          Returns the build as owner of this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorDetail

public ErrorDetail(hudson.model.AbstractBuild<?,?> owner,
                   java.util.Collection<java.lang.String> errors)
Creates a new instance of ErrorDetail.

Parameters:
owner - current build as owner of this action.
errors - all modules of the project
Method Detail

getOwner

public final hudson.model.AbstractBuild<?,?> getOwner()
Returns the build as owner of this action.

Returns:
the owner

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.ModelObject

getErrors

public java.util.Collection<java.lang.String> getErrors()
Returns the errors in the project.

Returns:
the errors in the project


Copyright © 2008. All Rights Reserved.