Package ganymede.dependency
Class POM
- java.lang.Object
-
- ganymede.dependency.POM
-
public class POM extends Object
Target class for YAML representation of POM elements.Bean Property Summary
Name Mode Type isHidden isBound isConstrained dependencies RW Set<Dependency>false false false interactiveMode RW Booleanfalse false false localRepository RW Stringfalse false false offline RW Booleanfalse false false repositories RW Set<RemoteRepository>false false false - Author:
- Allen D. Ball
-
-
Constructor Summary
Constructors Constructor Description POM()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static POMgetDefault()Static method to get defaultPOM.voidmerge(POM that)static POMparse(String yaml)voidwriteTo(OutputStream out)
-
-
-
Constructor Detail
-
POM
public POM()
-
-
Method Detail
-
getDefault
public static POM getDefault() throws IOException
Static method to get defaultPOM.- Returns:
- The parsed
POM. - Throws:
IOException
-
writeTo
public void writeTo(OutputStream out) throws IOException
- Parameters:
out- The targetOutputStream.- Throws:
IOException- If thePOMcannot be written for any reason.
-
-