org.sonatype.tycho.versions.pom
Class MutablePomFile
java.lang.Object
org.sonatype.tycho.versions.pom.MutablePomFile
public class MutablePomFile
- extends java.lang.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(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static MutablePomFile read(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(MutablePomFile pom,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write
public static void write(MutablePomFile pom,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
setVersion
public void setVersion(java.lang.String version)
setParentVersion
public void setParentVersion(java.lang.String newVersion)
getVersion
public java.lang.String getVersion()
getEffectiveVersion
public java.lang.String getEffectiveVersion()
getPackaging
public java.lang.String getPackaging()
getParentVersion
public java.lang.String getParentVersion()
getGroupId
public java.lang.String getGroupId()
getEffectiveGroupId
public java.lang.String getEffectiveGroupId()
getArtifactId
public java.lang.String getArtifactId()
getParent
public GAV getParent()
getModules
public java.util.List<java.lang.String> getModules()
getProfiles
public java.util.List<Profile> getProfiles()
getDependencyManagement
public DependencyManagement getDependencyManagement()
getDependencies
public java.util.List<GAV> getDependencies()
Copyright © 2008-2011. All Rights Reserved.