|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteteg.sinon.core.CollectorConfiguration
public class CollectorConfiguration
Class that represents the configurations of a Collector.
Collector| Constructor Summary | |
|---|---|
CollectorConfiguration()
Constructor without parameters. |
|
| Method Summary | |
|---|---|
void |
addSecurityConfiguration(SecurityConfiguration configuration)
Adds a SecurityConfiguration to this object. |
java.lang.String |
getHTTPHeader(java.lang.String name)
Returns the value associated with a given HTTP header. |
java.util.Properties |
getHttpHeaders()
Returns the value of the httpHeaders property. |
int |
getRetries()
Returns the value of the retries property. |
SecurityConfiguration |
getSecurityConfiguration(java.lang.String id)
Returns the SecurityConfiguration whose identifier is
id. |
SecurityConfiguration[] |
getSecurityConfigurations()
Returns the value of the securityConfigurations property. |
java.lang.String |
getThinkTimeImplementationClassName()
Returns the value of the thinkTimeImplementationClassName
property. |
java.util.Properties |
getThinkTimeProperties()
Returns the value of the thinkTimeProperties property. |
int |
getTimeout()
Returns the value of the timeout property. |
void |
setHTTPHeader(java.lang.String name,
java.lang.String value)
Adds a ( name, value) pair in the set of
HTTP headers sent to the Web site. |
void |
setRetries(int retries)
Sets the value of the retries property. |
void |
setThinkTimeImplementationClassName(java.lang.String thinkTimeImplementationClassName)
Sets the value of the thinkTimeImplementationClassName
property. |
void |
setThinkTimeProperty(java.lang.String name,
java.lang.String value)
Adds a ( name, value) pair in the
think time configurations. |
void |
setTimeout(int timeout)
Sets the value of the timeout property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectorConfiguration()
| Method Detail |
|---|
public java.lang.String getThinkTimeImplementationClassName()
thinkTimeImplementationClassName
property.
String.public void setThinkTimeImplementationClassName(java.lang.String thinkTimeImplementationClassName)
thinkTimeImplementationClassName
property.
thinkTimeImplementationClassName - the new
thinkTimeImplementationClassName value.
public void setThinkTimeProperty(java.lang.String name,
java.lang.String value)
name, value) pair in the
think time configurations.
name - a String containing the configuration name.value - a String containing the configuration value.
public void setHTTPHeader(java.lang.String name,
java.lang.String value)
name, value) pair in the set of
HTTP headers sent to the Web site.
name - a String containing the configuration name.value - a String containing the configuration value.public java.lang.String getHTTPHeader(java.lang.String name)
name - a String containing the name of the HTTP header.
String containing the value associated with
the HTTP header or null if there is no such HTTP header.public void addSecurityConfiguration(SecurityConfiguration configuration)
SecurityConfiguration to this object.
configuration - a SecurityConfiguration instance.public SecurityConfiguration[] getSecurityConfigurations()
securityConfigurations property.
SecurityConfiguration array.public SecurityConfiguration getSecurityConfiguration(java.lang.String id)
SecurityConfiguration whose identifier is
id.
id - a String.
SecurityConfiguration instance or null if
there is no SecurityConfiguration whose identifier is
id.
java.lang.IllegalArgumentException - if id is
null.public java.util.Properties getHttpHeaders()
httpHeaders property.
String.public java.util.Properties getThinkTimeProperties()
thinkTimeProperties property.
Properties instance.public int getTimeout()
timeout property.
int.public void setTimeout(int timeout)
timeout property.
timeout - the new timeout value.public int getRetries()
retries property.
int.public void setRetries(int retries)
retries property.
retries - the new retries value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||