@Override protected void fillPropertyMap(PropertyMap map) { super.fillPropertyMap(map); PropertySimple valueContextProp = new PropertySimple(BUNDLE_DEST_BASE_DIR_VALUE_CONTEXT_NAME, getValueContext().name()); PropertySimple valueNameProp = new PropertySimple(BUNDLE_DEST_BASE_DIR_VALUE_NAME_NAME, getValueName()); map.put(valueContextProp); map.put(valueNameProp); }
public BundleDestinationBaseDirectory(String name, String valueContext, String valueName, String description, List<String> acceptedBundleTypes) { super(name, description, acceptedBundleTypes); this.valueContext = Context .valueOf(valueContext); // will throw an exception if its not valid, which is what we want this.valueName = valueName; }