edu.ufl.osg.httppoll.data
Class Target

java.lang.Object
  |
  +--edu.ufl.osg.httppoll.data.Target
All Implemented Interfaces:
java.lang.Cloneable

public class Target
extends java.lang.Object
implements java.lang.Cloneable

Data representing an HTTP target (a URL to be monitored and its associated alert data).


Constructor Summary
Target()
           
 
Method Summary
 AlertAction getAlertAction()
           
 int getAlertThreshhold()
           
 java.lang.String getFile()
           
 boolean getLastPollFoundError()
           
 int getPort()
           
 ScheduledDowntime getScheduledDowntime()
           
 java.lang.String getUrl()
           
 void setAlertAction(AlertAction alertAction)
           
 void setAlertThreshhold(int alertThreshhold)
           
 void setFile(java.lang.String file)
           
 void setLastPollFoundError(boolean lastPollFoundError)
           
 void setPort(int port)
           
 void setScheduledDowntime(ScheduledDowntime scheduledDowntime)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Target

public Target()
Method Detail

setUrl

public void setUrl(java.lang.String url)

getUrl

public java.lang.String getUrl()

setPort

public void setPort(int port)

getPort

public int getPort()

setFile

public void setFile(java.lang.String file)

getFile

public java.lang.String getFile()

setAlertThreshhold

public void setAlertThreshhold(int alertThreshhold)

getAlertThreshhold

public int getAlertThreshhold()

setAlertAction

public void setAlertAction(AlertAction alertAction)

getAlertAction

public AlertAction getAlertAction()

setScheduledDowntime

public void setScheduledDowntime(ScheduledDowntime scheduledDowntime)

getScheduledDowntime

public ScheduledDowntime getScheduledDowntime()

setLastPollFoundError

public void setLastPollFoundError(boolean lastPollFoundError)

getLastPollFoundError

public boolean getLastPollFoundError()