public void remove(String name) { if (modelObject instanceof ResourceProvider) { ResourceProvider provider = (ResourceProvider) modelObject; provider.removeResource(name); // update properties this.properties.remove(name); } }
public void remove(String name) { if (modelObject instanceof ResourceProvider) { ResourceProvider provider = (ResourceProvider) modelObject; provider.removeResource(name); // update properties this.properties.remove(name); } }
/** * Removes credentials from the vault * * @param endpointId String */ public void removeCredentials(String endpointId) { // remove from the actual vault this.vault.remove(endpointId); // remove from our map getProperties().remove(endpointId); }
/** * Removes credentials from the vault * * @param endpointId String */ public void removeCredentials(String endpointId) { // remove from the actual vault this.vault.remove(endpointId); // remove from our map getProperties().remove(endpointId); }
/** * Removes the property. * * @param propertyName the property name */ public void removeProperty(String propertyName) { ParameterCheck.mandatory("propertyName", propertyName); getProperties().remove(propertyName); }
/** * Removes the property. * * @param propertyName the property name */ public void removeProperty(String propertyName) { ParameterCheck.mandatory("propertyName", propertyName); getProperties().remove(propertyName); }
/** * Removes credentials from the vault * * @param endpointId */ public void removeCredentials(String endpointId) { // remove from the actual vault this.vault.remove(endpointId); this.vault.save(); // remove from our map getProperties().remove(endpointId); }