class Fabric8ConfigMapPropertySource extends SourceDataEntriesProcessor {

	private static final EnumMap<NormalizedSourceType, Fabric8ContextToSourceData> STRATEGIES = new EnumMap<>(
			NormalizedSourceType.class);

	static {
		STRATEGIES.put(NormalizedSourceType.NAMED_CONFIG_MAP, namedConfigMap());
		STRATEGIES.put(NormalizedSourceType.LABELED_CONFIG_MAP, labeledConfigMap());
	}

	Fabric8ConfigMapPropertySource(Fabric8ConfigContext context) {
		super(getSourceData(context));
	}

	private static SourceData getSourceData(Fabric8ConfigContext context) {<FILL_FUNCTION_BODY>}

	private static Fabric8ContextToSourceData namedConfigMap() {
		return new NamedConfigMapContextToSourceDataProvider().get();
	}

	private static Fabric8ContextToSourceData labeledConfigMap() {
		return new LabeledConfigMapContextToSourceDataProvider().get();
	}

}

		NormalizedSourceType type = context.normalizedSource().type();
		return Optional.ofNullable(STRATEGIES.get(type)).map(x -> x.apply(context))
				.orElseThrow(() -> new IllegalArgumentException("no strategy found for : " + type));
	
<methods>public void <init>(SourceData) ,public static Map<java.lang.String,java.lang.Object> processAllEntries(Map<java.lang.String,java.lang.String>, org.springframework.core.env.Environment) ,public static Map<java.lang.String,java.lang.Object> processAllEntries(Map<java.lang.String,java.lang.String>, org.springframework.core.env.Environment, boolean) <variables>private static Predicate<java.lang.String> ENDS_IN_EXTENSION,private static final org.apache.commons.logging.Log LOG