hudson.plugins.sitemonitor.model
Class Result

java.lang.Object
  extended by hudson.plugins.sitemonitor.model.Result

public class Result
extends Object

This class keeps the details of a site monitoring result.

Author:
cliffano

Constructor Summary
Result(Site site, Integer responseCode, Status status, String note)
          Constructs a Result.
 
Method Summary
 String getNote()
           
 Integer getResponseCode()
           
 Site getSite()
           
 Status getStatus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Result

public Result(Site site,
              Integer responseCode,
              Status status,
              String note)
Constructs a Result.

Parameters:
site - the monitored site
responseCode - the response code returned from the site
status - status of the monitored site
note - additional textual information of the result
Method Detail

getSite

public final Site getSite()
Returns:
the monitored site

getResponseCode

public final Integer getResponseCode()
Returns:
the response code

getStatus

public final Status getStatus()
Returns:
the status of the monitored site

getNote

public final String getNote()
Returns:
the note


Copyright © 2004-2015. All Rights Reserved.