|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jakewharton.pingdom.entities.Check
public final class Check
Represents a Pingdom check object.
Nested Class Summary | |
---|---|
static class |
Check.CheckTypeBase
An encompassing base class which allows for the deserialization of all complex check-type objects to a single native object. |
static class |
Check.CheckTypeWrapper
Wrapper for CheckType which allows for deserializing either the
simple string type or a more complex object representation of the type
with a single class. |
static class |
Check.DnsType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
a DNS check type. |
static class |
Check.HttpCustomType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
an HTTP custom check type. |
static class |
Check.HttpType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
an HTTP check type. |
static class |
Check.ImapType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
an HTTP check type. |
static class |
Check.PingType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
a ping check type. |
static class |
Check.Pop3Type
Check.CheckTypeBase wrapper which only exposes methods appropriate for
a POP 3 check type. |
static class |
Check.SmtpType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
an SMTP check type. |
static class |
Check.TcpType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
a TCP check type. |
static class |
Check.UdpType
Check.CheckTypeBase wrapper which only exposes methods appropriate for
a UDP check type. |
Constructor Summary | |
---|---|
Check()
|
Method Summary | |
---|---|
Date |
getCreated()
Creating time. |
String |
getHostName()
Target host. |
Integer |
getId()
Check identifier. |
Date |
getLastErrorTime()
Timestamp of last error (if any). |
Date |
getLastResponseTime()
Response time (in milliseconds) of last test. |
Date |
getLastTestTime()
Timestamp of last test (if any). |
String |
getName()
Check name. |
Integer |
getNotifyAgainEvery()
Notify again every n result. |
Boolean |
getNotifyWhenBackUp()
Notify when back up again. |
Integer |
getResolution()
How often should the check be tested? (minutes) |
Integer |
getSendNotificationWhenDown()
Send notification when down n times. |
Boolean |
getSendToEmail()
Send alerts as email. |
Boolean |
getSendToIPhone()
Send alerts to iPhone. |
Boolean |
getSendToSms()
Send alerts as SMS. |
Boolean |
getSendToTwitter()
Send alerts through Twitter. |
CheckStatus |
getStatus()
Current status of check. |
Check.CheckTypeWrapper |
getType()
Check type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Check()
Method Detail |
---|
public Integer getId()
public String getName()
public Check.CheckTypeWrapper getType()
public Date getLastErrorTime()
public Date getLastTestTime()
public Date getLastResponseTime()
public CheckStatus getStatus()
public Integer getResolution()
public String getHostName()
public Boolean getSendToEmail()
public Boolean getSendToSms()
public Boolean getSendToTwitter()
public Boolean getSendToIPhone()
public Integer getSendNotificationWhenDown()
public Integer getNotifyAgainEvery()
public Boolean getNotifyWhenBackUp()
public Date getCreated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |