public class Jsonschema2PojoMojo
extends org.apache.maven.plugin.AbstractMojo
implements com.googlecode.jsonschema2pojo.GenerationConfig
| Constructor and Description |
|---|
Jsonschema2PojoMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the plugin, to read the given source and behavioural properties
and generate POJOs.
|
com.googlecode.jsonschema2pojo.AnnotationStyle |
getAnnotationStyle() |
Class<? extends com.googlecode.jsonschema2pojo.Annotator> |
getCustomAnnotator() |
char[] |
getPropertyWordDelimiters() |
Iterator<File> |
getSource() |
com.googlecode.jsonschema2pojo.SourceType |
getSourceType() |
File |
getTargetDirectory() |
String |
getTargetPackage() |
boolean |
isGenerateBuilders() |
boolean |
isIncludeHashcodeAndEquals() |
boolean |
isIncludeJsr303Annotations() |
boolean |
isIncludeToString() |
boolean |
isRemoveOldOutput() |
boolean |
isUseLongIntegers() |
boolean |
isUsePrimitives() |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionpublic boolean isGenerateBuilders()
isGenerateBuilders in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic File getTargetDirectory()
getTargetDirectory in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic Iterator<File> getSource()
getSource in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic boolean isUsePrimitives()
isUsePrimitives in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic String getTargetPackage()
getTargetPackage in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic char[] getPropertyWordDelimiters()
getPropertyWordDelimiters in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic boolean isUseLongIntegers()
isUseLongIntegers in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic boolean isIncludeHashcodeAndEquals()
isIncludeHashcodeAndEquals in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic boolean isIncludeToString()
isIncludeToString in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic com.googlecode.jsonschema2pojo.AnnotationStyle getAnnotationStyle()
getAnnotationStyle in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic Class<? extends com.googlecode.jsonschema2pojo.Annotator> getCustomAnnotator()
getCustomAnnotator in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic boolean isIncludeJsr303Annotations()
isIncludeJsr303Annotations in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic com.googlecode.jsonschema2pojo.SourceType getSourceType()
getSourceType in interface com.googlecode.jsonschema2pojo.GenerationConfigpublic boolean isRemoveOldOutput()
isRemoveOldOutput in interface com.googlecode.jsonschema2pojo.GenerationConfigCopyright © 2013. All Rights Reserved.