/** * Adds a destination base directory that can be used as a target for a bundle deployment. * * @param name the name of this bundle destination base directory (must not be <code>null</code>) * @param valueContext indicates where the value's name can be looked up and found. This * must be the string form of one of the enums found * in {@link BundleDestinationBaseDirectory.Context} * @param valueName the name of the property found in the given context where the value * of the base directory is * @param description optional explanation for what this destination location is * @param acceptedBundleTypes the list of accepted bundle types. Must not be null. */ public void addBundleDestinationBaseDirectory(String name, String valueContext, String valueName, String description, List<String> acceptedBundleTypes) { // we create this just to make sure the context and value are valid. An exception will be thrown if they are not. addBundleDestinationSpecification(new BundleDestinationBaseDirectory(name, valueContext, valueName, description, acceptedBundleTypes)); }
/** * Adds a destination base directory that can be used as a target for a bundle deployment. * * @param name the name of this bundle destination base directory (must not be <code>null</code>) * @param valueContext indicates where the value's name can be looked up and found. This * must be the string form of one of the enums found * in {@link BundleDestinationBaseDirectory.Context} * @param valueName the name of the property found in the given context where the value * of the base directory is * @param description optional explanation for what this destination location is * * @deprecated since 4.13, use {@link #addBundleDestinationBaseDirectory(String, String, String, String, java.util.List)} */ public void addBundleDestinationBaseDirectory(String name, String valueContext, String valueName, String description) { // we create this just to make sure the context and value are valid. An exception will be thrown if they are not. addBundleDestinationSpecification(new BundleDestinationBaseDirectory(name, valueContext, valueName, description, Collections.<String>emptyList())); }