public class PomUpdateStatus extends Object
| Constructor and Description |
|---|
PomUpdateStatus(File pom,
de.pdark.decentxml.Document doc) |
| Modifier and Type | Method and Description |
|---|---|
static PomUpdateStatus |
createPomUpdateStatus(File file) |
boolean |
saveIfChanged()
Saves the pom.xml if its been changed
|
void |
updateProperties(Map<String,String> propertyChanges) |
void |
updateVersions(List<DependencyVersionChange> changes,
Map<String,String> propertyChanges) |
public PomUpdateStatus(File pom, de.pdark.decentxml.Document doc)
public static PomUpdateStatus createPomUpdateStatus(File file) throws IOException
IOExceptionpublic boolean saveIfChanged()
throws IOException
IOExceptionpublic void updateVersions(List<DependencyVersionChange> changes, Map<String,String> propertyChanges)
Copyright © 2076–2017 Red Hat. All rights reserved.