Package com.axway.ats.harness.config
Class MessagesBox
- java.lang.Object
-
- com.axway.ats.harness.config.MessagesBox
-
- All Implemented Interfaces:
Serializable
public class MessagesBox extends Object
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Properties
properties
List of generic properties
-
Constructor Summary
Constructors Constructor Description MessagesBox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDbName()
String
getDbPass()
String
getDbTable()
String
getDbUser()
String
getHost()
protected Properties
getNewProperties()
Map<String,Object>
getProperties()
Get all properties associated with this boxString
getProperty(String name)
Get a generic property associated with this boxMessagesBox
newCopy()
void
setDbName(String dbName)
void
setDbPass(String dbPass)
void
setDbTable(String dbTable)
void
setDbUser(String dbUser)
void
setHost(String host)
void
setProperty(String name, String value)
Associate a property with this box (not to be exposed to clients)String
toString()
protected void
verifyNotNullNorEmptyParameter(String key, String value)
-
-
-
Field Detail
-
properties
protected Properties properties
List of generic properties
-
-
Method Detail
-
getHost
public String getHost()
- Returns:
- the host
-
setHost
public void setHost(String host)
- Parameters:
host
- the host to set
-
getDbName
public String getDbName()
- Returns:
-
setDbName
public void setDbName(String dbName)
- Parameters:
dbName
-
-
getDbUser
public String getDbUser()
- Returns:
-
setDbUser
public void setDbUser(String dbUser)
- Parameters:
dbUser
-
-
getDbPass
public String getDbPass()
- Returns:
-
setDbPass
public void setDbPass(String dbPass)
- Parameters:
dbPass
-
-
getDbTable
public String getDbTable()
- Returns:
- the table with messages
-
setDbTable
public void setDbTable(String dbTable)
- Parameters:
dbTable
- the table with messages to set
-
newCopy
public MessagesBox newCopy()
- Returns:
- a new copy of this Box
-
toString
public String toString()
-
getProperty
public String getProperty(String name)
Get a generic property associated with this box- Parameters:
name
- name of the property- Returns:
- value of the property
-
getProperties
public Map<String,Object> getProperties()
Get all properties associated with this box
-
setProperty
public void setProperty(String name, String value)
Associate a property with this box (not to be exposed to clients)- Parameters:
name
- name of the propertyvalue
- value of the property
-
verifyNotNullNorEmptyParameter
protected void verifyNotNullNorEmptyParameter(String key, String value)
-
getNewProperties
protected Properties getNewProperties()
-
-