Package io.protostuff.mojo
Class ProtoModule
- java.lang.Object
-
- io.protostuff.compiler.ProtoModule
-
- io.protostuff.mojo.ProtoModule
-
- All Implemented Interfaces:
java.io.Serializable
public class ProtoModule extends ProtoModule
Specifically for the maven-plugin. This allows you to not specify implementation="io.protostuff.protocompiler.ProtoModule" on your<protoModule> </protoModule>
tags- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
addToCompileSourceRoot
private static long
serialVersionUID
-
Fields inherited from class io.protostuff.compiler.ProtoModule
DEFAULT_GENERATOR_NAME, JAVA_9_AND_ABOVE
-
-
Constructor Summary
Constructors Constructor Description ProtoModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAddToCompileSourceRoot()
void
setAddToCompileSourceRoot(boolean addToCompileSourceRoot)
Set this to true to include the output dir to the list of compilation sources.-
Methods inherited from class io.protostuff.compiler.ProtoModule
getAttributes, getAttrs, getCachingProtoLoader, getConfig, getEncoding, getGenerator, getOption, getOptions, getOutput, getOutputDir, getSource, isJavaVersion9, setAttribute, setCachingProtoLoader, setEncoding, setGenerator, setOption, setOptions, setOutput, setOutputDir, setSource
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
addToCompileSourceRoot
private boolean addToCompileSourceRoot
-
-
Method Detail
-
isAddToCompileSourceRoot
public boolean isAddToCompileSourceRoot()
- Returns:
- the addToCompileSourceRoot
-
setAddToCompileSourceRoot
public void setAddToCompileSourceRoot(boolean addToCompileSourceRoot)
Set this to true to include the output dir to the list of compilation sources.- Parameters:
addToCompileSourceRoot
- the addToCompileSourceRoot to set
-
-