com.ebay.carad.os.vitalsigns.dataretrievers
Class UrlRegexDataRetriever
java.lang.Object
com.ebay.carad.os.vitalsigns.dataretrievers.UrlRegexDataRetriever
- All Implemented Interfaces:
- IDataRetriever, java.lang.Cloneable
public class UrlRegexDataRetriever
- extends java.lang.Object
- implements IDataRetriever
- Version:
- $Id$
- Author:
- Jeremy Thomerson
Field Summary |
private static org.apache.log4j.Logger |
LOGGER
|
private java.util.regex.Pattern |
mRegex
|
private java.net.URL |
mUrl
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final org.apache.log4j.Logger LOGGER
mUrl
private java.net.URL mUrl
mRegex
private java.util.regex.Pattern mRegex
UrlRegexDataRetriever
public UrlRegexDataRetriever()
getData
public java.lang.Float getData(IDashboardAgent agent)
- Specified by:
getData
in interface IDataRetriever
getURLContents
private java.lang.String getURLContents()
setUrl
public void setUrl(java.lang.String url)
setRegex
public void setRegex(java.lang.String regex)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface IDataRetriever
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2004-2009. All Rights Reserved.