hudson.plugins.sitemonitor.model
Class Site

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

public class Site
extends Object

This class keeps the details of the web site to be monitored.

Author:
cliffano, onuba

Nested Class Summary
static class Site.SiteBuilder
          Builder class for Site class
 
Method Summary
static Site.SiteBuilder builder(String url)
           
 List<Integer> getSuccessResponseCodes()
           
 String getSuccessResponseCodesCsv()
           
 Integer getTimeout()
           
 String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUrl

public final String getUrl()
Returns:
the web site URL

getTimeout

public Integer getTimeout()
Returns:
the timeout

getSuccessResponseCodes

public List<Integer> getSuccessResponseCodes()
Returns:
the successResponseCodes

getSuccessResponseCodesCsv

public final String getSuccessResponseCodesCsv()
Returns:
the success response codes in comma-separated value format, used by jelly

builder

public static Site.SiteBuilder builder(String url)


Copyright © 2004-2015. All Rights Reserved.