Package com.mimecast.robin.config.client
Class RouteConfig
java.lang.Object
com.mimecast.robin.config.ConfigFoundation
com.mimecast.robin.config.client.RouteConfig
- All Implemented Interfaces:
Serializable
Client route configuration container.
This is a container for routes defined in the client configuration.
One instance will be made for every route defined.
This can be used to configure MX, PORT and SMTP AUTH authentication in cases.
- See Also:
-
Field Summary
Fields inherited from class com.mimecast.robin.config.ConfigFoundation
log, map -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMx()Gets MX.getName()Gets route name.getPass()Gets the password.intGets port.getUser()Gets the username.booleanisAuth()Is authentication enabled.booleanIs AUTH LOGIN combined username and password login enabled.booleanIs AUTH LOGIN retry enabled.Methods inherited from class com.mimecast.robin.config.ConfigFoundation
getBooleanProperty, getBooleanProperty, getDoubleProperty, getListProperty, getListProperty, getLongProperty, getLongProperty, getMap, getMapProperty, getMapProperty, getStringProperty, getStringProperty, hasProperty, isEmpty
-
Constructor Details
-
RouteConfig
Constructs a new RouteConfig instance with given map.- Parameters:
map- Properties map.
-
-
Method Details
-
getName
Gets route name.- Returns:
- Name string.
-
getMx
Gets MX.- Returns:
- MX list of string.
-
getSmtpPort
public int getSmtpPort()Gets port.- Returns:
- Port number.
-
isAuth
public boolean isAuth()Is authentication enabled.- Returns:
- Boolean.
-
isAuthLoginCombined
public boolean isAuthLoginCombined()Is AUTH LOGIN combined username and password login enabled.- Returns:
- Boolean.
-
isAuthLoginRetry
public boolean isAuthLoginRetry()Is AUTH LOGIN retry enabled.- Returns:
- Boolean.
-
getUser
Gets the username.- Returns:
- Username string.
-
getPass
Gets the password.- Returns:
- password string.
-