Package io.protostuff.mojo
Class ProtoModule
java.lang.Object
io.protostuff.compiler.ProtoModule
io.protostuff.mojo.ProtoModule
- All Implemented Interfaces:
Serializable
Specifically for the maven-plugin. This allows you to not specify
implementation="io.protostuff.protocompiler.ProtoModule" on your
<protoModule> </protoModule>
tags- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static final long
Fields inherited from class io.protostuff.compiler.ProtoModule
DEFAULT_GENERATOR_NAME, JAVA_9_AND_ABOVE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
addToCompileSourceRoot
private boolean addToCompileSourceRoot
-
-
Constructor Details
-
ProtoModule
public ProtoModule()
-
-
Method Details
-
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
-