hudson.plugins.sitemonitor.model
Class Result
java.lang.Object
hudson.plugins.sitemonitor.model.Result
public class Result
- extends Object
This class keeps the details of a site monitoring result.
- Author:
- cliffano
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Result
public Result(Site site,
Integer responseCode,
Status status,
String note)
- Constructs a
Result.
- Parameters:
site - the monitored siteresponseCode - the response code returned from the sitestatus - status of the monitored sitenote - additional textual information of the result
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.