public Builder addResourceConfigurationSimplePropertyReference(String name, String targetName) { refs.add(new ConfigRef(targetName, name, ConfigRef.Type.SIMPLE, ConfigRef.Context.RESOURCE_CONFIGURATION)); return this; }
public Builder addResourceConfigurationListPropertyReference(String name, String targetName) { refs.add(new ConfigRef(targetName, name, ConfigRef.Type.LIST, ConfigRef.Context.RESOURCE_CONFIGURATION)); return this; }
public Builder addResourceConfigurationMapPropertyReference(String name, String targetName) { refs.add(new ConfigRef(targetName, name, ConfigRef.Type.MAP, ConfigRef.Context.RESOURCE_CONFIGURATION)); return this; }
public Builder addMeasurementTraitReference(String name, String targetName) { refs.add(new ConfigRef(targetName, name, null, ConfigRef.Context.MEASUREMENT_TRAIT)); return this; }
public Builder addFullMeasurementTraitsReference(String prefix) { refs.add(new ConfigRef(null, prefix, ConfigRef.Type.FULL, ConfigRef.Context.MEASUREMENT_TRAIT)); return this; }
public Builder addFullPluginConfigurationReference(String prefix) { refs.add(new ConfigRef(prefix, null, ConfigRef.Type.FULL, ConfigRef.Context.PLUGIN_CONFIGURATION)); return this; }
public Builder addFullResourceConfigurationReference(String prefix) { refs.add(new ConfigRef(null, prefix, ConfigRef.Type.FULL, ConfigRef.Context.RESOURCE_CONFIGURATION)); return this; }
public Builder addPluginConfigurationMapPropertyReference(String name, String targetName) { refs.add(new ConfigRef(targetName, name, ConfigRef.Type.MAP, ConfigRef.Context.PLUGIN_CONFIGURATION)); return this; }
public Builder addPropertyReference(ConfigRef.Type type, ConfigRef.Context context, String name, String targetName) { refs.add(new ConfigRef(targetName, name, type, context)); return this; }
public Builder addPluginConfigurationSimplePropertyReference(String name, String targetName) { refs.add(new ConfigRef(targetName, name, ConfigRef.Type.SIMPLE, ConfigRef.Context.PLUGIN_CONFIGURATION)); return this; }
public Builder addPluginConfigurationListPropertyReference(String name, String targetName) { refs.add(new ConfigRef(targetName, name, ConfigRef.Type.LIST, ConfigRef.Context.PLUGIN_CONFIGURATION)); return this; }