com.jakewharton.pingdom.entities
Class Check.SmtpType

java.lang.Object
  extended by com.jakewharton.pingdom.entities.Check.SmtpType
Enclosing class:
Check

public static final class Check.SmtpType
extends Object

Check.CheckTypeBase wrapper which only exposes methods appropriate for an SMTP check type.

Author:
Jake Wharton

Method Summary
 Boolean getEncryption()
          Connection encryption.
 String getPassword()
          Password for target SMTP authentication.
 Integer getPort()
          Target port.
 String getStringToExpect()
          String to expect in response.
 String getUsername()
          Username for target SMTP authentication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPort

public Integer getPort()
Target port.

Returns:
Value.
Since:
2.0

getUsername

public String getUsername()
Username for target SMTP authentication.

Returns:
Value.
Since:
2.0

getPassword

public String getPassword()
Password for target SMTP authentication.

Returns:
Value.
Since:
2.0

getEncryption

public Boolean getEncryption()
Connection encryption.

Returns:
Value.
Since:
2.0

getStringToExpect

public String getStringToExpect()
String to expect in response.

Returns:
Value.
Since:
2.0


Copyright © 2011 Jake Wharton. All Rights Reserved.