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- Author:
- David Yu
- See Also:
-
Field Summary
Fields inherited from class ProtoModule
DEFAULT_GENERATOR_NAME, JAVA_9_AND_ABOVE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAddToCompileSourceRoot(boolean addToCompileSourceRoot) Set this to true to include the output dir to the list of compilation sources.Methods inherited from class ProtoModule
getAttributes, getAttrs, getCachingProtoLoader, getConfig, getEncoding, getGenerator, getOption, getOptions, getOutput, getOutputDir, getSource, isJavaVersion9, setAttribute, setCachingProtoLoader, setEncoding, setGenerator, setOption, setOptions, setOutput, setOutputDir, setSource
-
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
-