Class EclipseRunConfigurationWriter
- java.lang.Object
-
- org.spongepowered.gradle.vanilla.internal.runs.EclipseRunConfigurationWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class EclipseRunConfigurationWriter extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description EclipseRunConfigurationWriter(java.nio.file.Path target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()EclipseRunConfigurationWriterprojectName(java.lang.String name)voidwrite(RunConfiguration run)
-
-
-
Method Detail
-
projectName
public EclipseRunConfigurationWriter projectName(java.lang.String name)
-
write
public void write(RunConfiguration run) throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
-
close
public void close() throws java.io.IOException, javax.xml.stream.XMLStreamException- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
-