use of org.jfrog.build.extractor.clientConfiguration.util.EditPropertiesHelper in project build-info by JFrogDev.
the class SpecsHelper method editPropertiesBySpec.
@SuppressWarnings("unused")
public boolean editPropertiesBySpec(String spec, ArtifactoryManager artifactoryManager, EditPropertiesHelper.EditPropertiesActionType editType, String props) throws IOException {
EditPropertiesHelper helper = new EditPropertiesHelper(artifactoryManager, log);
FileSpec fileSpec = FileSpec.fromString(spec);
FileSpecsValidation.validateSearchBasedFileSpec(fileSpec);
return helper.editProperties(fileSpec, editType, props);
}
Aggregations