org.apache.maven.plugin.linkcheck
Class LinkCheckResult

java.lang.Object
  extended byorg.apache.maven.plugin.linkcheck.LinkCheckResult

public final class LinkCheckResult
extends Object

An class containing the results of a single check of a link.

Version:
$Id: LinkCheckResult.java 532339 2007-04-25 12:28:56Z ltheussl $
Author:
Ben Walding, Arnaud Heritier

Constructor Summary
LinkCheckResult()
           
 
Method Summary
 String getErrorMessage()
           
 String getStatus()
          Returns the status.
 String getTarget()
          Returns the target.
 void setErrorMessage(String errorMessage)
           
 void setStatus(String status)
          Sets the status.
 void setTarget(String target)
          Sets the target.
 String toXML()
          Creates an XML representation of this link check result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkCheckResult

public LinkCheckResult()
Method Detail

getStatus

public String getStatus()
Returns the status.

Returns:
String

setStatus

public void setStatus(String status)
Sets the status.

Parameters:
status - The status to set

getTarget

public String getTarget()
Returns the target.

Returns:
String

setTarget

public void setTarget(String target)
Sets the target.

Parameters:
target - The target to set

getErrorMessage

public String getErrorMessage()
Returns:
Returns the errorMessage.

setErrorMessage

public void setErrorMessage(String errorMessage)
Parameters:
errorMessage - The errorMessage to set.

toXML

public String toXML()
Creates an XML representation of this link check result

Returns:
xml fragment representation of this result


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.