|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteteg.sinon.core.Collector
public class Collector
Class that represents a Sinon collector.
| Constructor Summary | |
|---|---|
Collector()
Constructor without parameters. |
|
| Method Summary | |
|---|---|
void |
addCatalog(Catalog catalog)
Adds a Catalog to this collector. |
Catalog |
getCatalog(java.lang.String id)
Returns the Catalog whose identifier is id. |
Catalog[] |
getCatalogs()
Returns the value of the catalogs property. |
java.lang.String |
getCatalogStateListenerClassName()
Returns the value of the catalogStateListenerClassName
property. |
CollectorConfiguration |
getConfiguration()
Returns the value of the configurations property. |
java.lang.String |
getId()
Returns the value of the id property. |
void |
removeCatalog(Catalog catalog)
Removes a Catalog to this collector. |
void |
setCatalogStateListenerClassName(java.lang.String catalogStateListenerClassName)
Sets the value of the catalogStateListenerClassName
property. |
void |
setConfiguration(CollectorConfiguration configuration)
Sets the value of the configuration property. |
void |
setId(java.lang.String id)
Sets the value of the id property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Collector()
| Method Detail |
|---|
public java.lang.String getId()
id property.
String.public void setId(java.lang.String id)
id property.
id - the new id value.public CollectorConfiguration getConfiguration()
configurations property.
CollectorConfiguration instance.public void setConfiguration(CollectorConfiguration configuration)
configuration property.
configuration - a CollectorConfiguration instance.public void addCatalog(Catalog catalog)
Catalog to this collector.
catalog - a Catalog instance.public void removeCatalog(Catalog catalog)
Catalog to this collector.
catalog - a Catalog instance.public Catalog[] getCatalogs()
catalogs property.
Catalog array.public Catalog getCatalog(java.lang.String id)
Catalog whose identifier is id.
id - a String.
Catalog instance or null if
there is no Catalog whose identifier is id.
java.lang.IllegalArgumentException - if id is
null.public java.lang.String getCatalogStateListenerClassName()
catalogStateListenerClassName
property.
String.public void setCatalogStateListenerClassName(java.lang.String catalogStateListenerClassName)
catalogStateListenerClassName
property.
catalogStateListenerClassName - the new
catalogStateListenerClassName value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||