Class BuildJobXpp3Writer
- java.lang.Object
-
- org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Writer
-
public class BuildJobXpp3Writer extends java.lang.ObjectClass BuildJobXpp3Writer.- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringfileCommentField fileComment.private static java.lang.StringNAMESPACEField NAMESPACE.
-
Constructor Summary
Constructors Constructor Description BuildJobXpp3Writer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetFileComment(java.lang.String fileComment)Method setFileComment.voidwrite(java.io.OutputStream stream, BuildJob buildJob)Method write.voidwrite(java.io.Writer writer, BuildJob buildJob)Method write.private voidwriteBuildJob(BuildJob buildJob, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeBuildJob.
-
-
-
Method Detail
-
setFileComment
public void setFileComment(java.lang.String fileComment)
Method setFileComment.- Parameters:
fileComment- a fileComment object.
-
write
public void write(java.io.Writer writer, BuildJob buildJob) throws java.io.IOExceptionMethod write.- Parameters:
writer- a writer object.buildJob- a buildJob object.- Throws:
java.io.IOException- java.io.IOException if any.
-
write
public void write(java.io.OutputStream stream, BuildJob buildJob) throws java.io.IOExceptionMethod write.- Parameters:
stream- a stream object.buildJob- a buildJob object.- Throws:
java.io.IOException- java.io.IOException if any.
-
writeBuildJob
private void writeBuildJob(BuildJob buildJob, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeBuildJob.- Parameters:
buildJob- a buildJob object.serializer- a serializer object.tagName- a tagName object.- Throws:
java.io.IOException- java.io.IOException if any.
-
-