| 
 | ||||||||||
| 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 Catalogto this collector. | 
|  Catalog | getCatalog(java.lang.String id)Returns the Catalogwhose identifier isid. | 
|  Catalog[] | getCatalogs()Returns the value of the catalogsproperty. | 
|  java.lang.String | getCatalogStateListenerClassName()Returns the value of the catalogStateListenerClassNameproperty. | 
|  CollectorConfiguration | getConfiguration()Returns the value of the configurationsproperty. | 
|  java.lang.String | getId()Returns the value of the idproperty. | 
|  void | removeCatalog(Catalog catalog)Removes a Catalogto this collector. | 
|  void | setCatalogStateListenerClassName(java.lang.String catalogStateListenerClassName)Sets the value of the catalogStateListenerClassNameproperty. | 
|  void | setConfiguration(CollectorConfiguration configuration)Sets the value of the configurationproperty. | 
|  void | setId(java.lang.String id)Sets the value of the idproperty. | 
| 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 | |||||||||