org.sonatype.tycho.versions.pom
Class MutablePomFile
java.lang.Object
org.sonatype.tycho.versions.pom.MutablePomFile
public class MutablePomFile
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MutablePomFile
public MutablePomFile(de.pdark.decentxml.Document pom)
read
public static MutablePomFile read(File file)
throws IOException
- Throws:
IOException
read
public static MutablePomFile read(InputStream input)
throws IOException
- Throws:
IOException
write
public static void write(MutablePomFile pom,
OutputStream out)
throws IOException
- Throws:
IOException
write
public static void write(MutablePomFile pom,
File file)
throws IOException
- Throws:
IOException
setVersion
public void setVersion(String version)
setParentVersion
public void setParentVersion(String newVersion)
getVersion
public String getVersion()
getEffectiveVersion
public String getEffectiveVersion()
getPackaging
public String getPackaging()
getParentVersion
public String getParentVersion()
getGroupId
public String getGroupId()
getEffectiveGroupId
public String getEffectiveGroupId()
getArtifactId
public String getArtifactId()
getParent
public GAV getParent()
getModules
public List<String> getModules()
getProfiles
public List<Profile> getProfiles()
getDependencyManagement
public DependencyManagement getDependencyManagement()
getDependencies
public List<GAV> getDependencies()
Copyright © 2008-2011. All Rights Reserved.