Package ru.ewc.decita
Class Locators
java.lang.Object
ru.ewc.decita.Locators
I am the collection of
Locators used to populate the ComputationContexts. My main
responsibility is to keep track of the Locators, merge them together and provide the
merged result.- Since:
- 0.3.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlocatorFor(String locator) Returns a concreteLocatorif it's found in an instance storage.mergedWith(Locators additional) names()
-
Field Details
-
CONSTANT
The constantLocatorthat can be used in theComputationContext. -
EMPTY
The empty set of predefinedLocators that should be used to get data from a system.
-
-
Constructor Details
-
Locators
Ctor.- Parameters:
collection- TheLocators to be managed by this instance.
-
-
Method Details
-
locatorFor
Returns a concreteLocatorif it's found in an instance storage.- Parameters:
locator- The String identifier of the requiredLocator.- Returns:
- The instance of
Locator. - Throws:
DecitaException- If the specifiedLocatoris missing.
-
mergedWith
-
names
-