public final class ObservableSource extends TypedString<ObservableSource>
The meaning of a source is deliberately abstract, identified only by name. While it may refer to a major system, such as Bloomberg, it might refer to any other system or sub-system, such as data from a specific broker.
| Modifier and Type | Field and Description |
|---|---|
static ObservableSource |
NONE
A market data source used when the application does not care about the source.
|
| Modifier and Type | Method and Description |
|---|---|
static ObservableSource |
of(String name)
Obtains an instance from the specified name.
|
compareTo, equals, getName, hashCode, toStringpublic static final ObservableSource NONE
public static ObservableSource of(String name)
Source names must only contains the characters A-Z, a-z, 0-9 and -.
name - the name of the sourceCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.