SettingsDTO

public class SettingsDTO

Represents single hub settings. Used by org.motechproject.hub.web.HubController.

Constructors

SettingsDTO

public SettingsDTO()

Creates a new instance of the SettingsDTO with new org.motechproject.hub.model.HubSettings and the hub base url set to null.

Methods

getHubBaseUrl

public String getHubBaseUrl()

Gets the hub base url.

Returns:the hub base url as a String

setHubBaseUrl

public void setHubBaseUrl(String hubBaseUrl)

Sets the hub base url.

Parameters:
  • hubBaseUrl – the hub base url to be set