org.codehaus.modello.maven
Class ModelloJsonSchemaGeneratorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.modello.maven.AbstractModelloGeneratorMojo
          extended by org.codehaus.modello.maven.ModelloJsonSchemaGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="jsonschema",
      defaultPhase=GENERATE_SOURCES,
      threadSafe=true)
public final class ModelloJsonSchemaGeneratorMojo
extends AbstractModelloGeneratorMojo

Creates a JSON Schema from the model.

Since:
1.8
Author:
Simone Tripodi

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ModelloJsonSchemaGeneratorMojo()
           
 
Method Summary
protected  void customizeParameters(Properties parameters)
          Override this method to customize the values in the properties set.
protected  String getGeneratorType()
           
 File getOutputDirectory()
           
 
Methods inherited from class org.codehaus.modello.maven.AbstractModelloGeneratorMojo
createParameters, execute, getBasedir, getModelloCore, getModels, getPackageWithVersion, getProject, getVersion, producesCompilableResult, producesResources, setBasedir, setBuildContext, setModelloCore, setModels, setPackagedVersions, setPackageWithVersion, setProject, setVersion
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelloJsonSchemaGeneratorMojo

public ModelloJsonSchemaGeneratorMojo()
Method Detail

customizeParameters

protected void customizeParameters(Properties parameters)
Description copied from class: AbstractModelloGeneratorMojo
Override this method to customize the values in the properties set.

This method will be called after the parameters have been populated with the parameters in the abstract mojo.

Overrides:
customizeParameters in class AbstractModelloGeneratorMojo
Parameters:
parameters - the parameters to customize

getGeneratorType

protected String getGeneratorType()
Specified by:
getGeneratorType in class AbstractModelloGeneratorMojo

getOutputDirectory

public File getOutputDirectory()
Specified by:
getOutputDirectory in class AbstractModelloGeneratorMojo


Copyright © 2001-2013 Codehaus. All Rights Reserved.