public class ObserverSpecification extends Object
FluoConfiguration.addObserver(ObserverSpecification)
.Constructor and Description |
---|
ObserverSpecification(String className) |
ObserverSpecification(String className,
Map<String,String> observerConfig) |
ObserverSpecification(String className,
SimpleConfiguration observerConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClassName() |
SimpleConfiguration |
getConfiguration() |
int |
hashCode() |
public ObserverSpecification(String className)
className
- The name of a class that implements Observer
public ObserverSpecification(String className, SimpleConfiguration observerConfig)
className
- The name of a class that implements Observer
observerConfig
- Per observer configuration thats specific to this observer. For
configuration thats the same across multiple observers, consider using
FluoConfiguration.getAppConfiguration()
public ObserverSpecification(String className, Map<String,String> observerConfig)
className
- The name of a class that implements Observer
observerConfig
- Per observer configuration thats specific to this observer. For
configuration thats the same across multiple observers, consider using
FluoConfiguration.getAppConfiguration()
Copyright © 2016 The Apache Software Foundation. All rights reserved.