|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.config.enterprise.EnterpriseConfig
public class EnterpriseConfig
An EnterpriseConfig
provides the JTR framework with
information such as the properties needed to correctly perform the lookup of
enterprise resources. All these operations can be transparently performed by
the ServiceLocator
provided implementation on behalf of the
IRunner
s provided by the test developer.
A single TestConfig
is allowed to contain 0, 1 or more
EnterpriseConfig
s, and each of them is required to expose a
unique name.
An EnterpriseConfig
consists of a set of
EnterpriseProperty
.
EnterpriseProperty
,
Serialized FormConstructor Summary | |
---|---|
EnterpriseConfig()
Constructor. |
Method Summary | |
---|---|
void |
addEnterpriseProperty(EnterpriseProperty property)
Adds a new EnterpriseProperty to the current
EnterpriseConfig |
TestConfig |
getParent()
Returns the TestConfig instance this
EnterpriseConfig is tied to. |
java.lang.String |
getUniqueName()
Gets the enterprise configuration's unique name. |
void |
setParent(TestConfig parent)
Ties the current EnterpriseConfig with the given
TestConfig instance. |
void |
setUniqueName(java.lang.String uniqueName)
Sets the enterprise configuration's unique name. |
java.util.Hashtable<java.lang.String,java.lang.String> |
toHashtable()
Provides an Hashtable representation of
the properties associated with this enterprise configuration. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnterpriseConfig()
Method Detail |
---|
public void setUniqueName(java.lang.String uniqueName)
uniqueName
- Stringpublic java.lang.String getUniqueName()
public void addEnterpriseProperty(EnterpriseProperty property)
EnterpriseProperty
to the current
EnterpriseConfig
property
- EnterprisePropertypublic void setParent(TestConfig parent)
EnterpriseConfig
with the given
TestConfig
instance.
parent
- TestConfigpublic TestConfig getParent()
TestConfig
instance this
EnterpriseConfig
is tied to.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.util.Hashtable<java.lang.String,java.lang.String> toHashtable()
Hashtable
representation of
the properties associated with this enterprise configuration.
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |