Class ProtoLoader
java.lang.Object
com.oracle.labs.mlrg.olcut.config.protobuf.ProtoLoader
- All Implemented Interfaces:
ConfigLoader
A loader for configuration data stored in protobuf format.
-
Field Summary
Fields inherited from interface com.oracle.labs.mlrg.olcut.config.io.ConfigLoader
COMPONENT, COMPONENTS, CONFIG, ENTRIES, ENTRY, EXPORT, FILE, FILES, GLOBALPROPERTIES, IMPORT, INHERIT, ITEM, KEY, LEASETIME, LOCATION, NAME, PROPERTIES, PROPERTY, PROPERTYLIST, PROPERTYMAP, SERIALIZED, SERIALIZEDOBJECTS, TYPE, VALUE -
Constructor Summary
ConstructorsConstructorDescriptionProtoLoader(URLLoader parent, Map<String, ConfigurationData> rpdMap, Map<String, ConfigurationData> existingRPD, Map<String, SerializedObject> serializedObjects, GlobalProperties globalProperties, boolean parseTextFormat) Constructs a configuration loader for protobuf data. -
Method Summary
-
Constructor Details
-
ProtoLoader
public ProtoLoader(URLLoader parent, Map<String, ConfigurationData> rpdMap, Map<String, ConfigurationData> existingRPD, Map<String, SerializedObject> serializedObjects, GlobalProperties globalProperties, boolean parseTextFormat) Constructs a configuration loader for protobuf data.- Parameters:
parent- The URL loader for this instance of the configuration manager.rpdMap- The configuration data for the current instance.existingRPD- Any pre-existing configuration data which may be inherited.serializedObjects- The current set of serialized objects.globalProperties- The global properties.parseTextFormat- Should this loader parse text protobufs or binary ones.
-
-
Method Details
-
load
- Specified by:
loadin interfaceConfigLoader- Throws:
ConfigLoaderException
-
load
- Specified by:
loadin interfaceConfigLoader- Throws:
ConfigLoaderException
-