[configurator] Add missing constants
@@ -54,20 +54,38 @@ public final class ConfiguratorConstants {
/**
* Prefix to mark properties as input for the Configurator when processing a
- * configuration.
+ * configuration resource.
*/
public static final String PROPERTY_PREFIX = ":configurator:";
/**
- * Global property in the configuration JSON specifying the version of the
- * JSON format.
+ * Global property in the configuration resource specifying the version of
+ * the resource format.
* <p>
* Currently only version {@code 1} is defined for the JSON format and
* therefore the only allowed value is {@code 1} for this property. If this
* property is not specified, {@code 1} is assumed.
*/
- public static final String PROPERTY_JSON_VERSION = PROPERTY_PREFIX
- + "json-version";
+ public static final String PROPERTY_RESOURCE_VERSION = PROPERTY_PREFIX
+ + "resource-version";
+
+ /**
+ * Global property in the configuration resource specifying the symbolic
+ * name of the configuration resource. If not specified the symbolic name of
+ * the bundle containing the resource is used. Mandatory for configuration
+ * resources that do not reside in a bundle
+ */
+ public static final String PROPERTY_SYMBOLIC_NAME = PROPERTY_PREFIX
+ + "symbolic-name";
+
+ /**
+ * Global property in the configuration resource specifying the version of
+ * the resource. If not specified the version of the bundle containing the
+ * resource is used. Mandatory for configuration resources that do not
+ * reside in a bundle.
+ */
+ public static final String PROPERTY_VERSION = PROPERTY_PREFIX
+ + "version";
/**
* Configuration property for the configuration ranking.
