org.kuali.student.datadictionary.mojo
Class KSDictionaryCreatorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.kuali.student.datadictionary.mojo.KSDictionaryCreatorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class KSDictionaryCreatorMojo
extends org.apache.maven.plugin.AbstractMojo

The plugin entrypoint which is used to generate dictionary files based on the contract


Field Summary
private  List<String> classNames
           
private  File outputDirectory
           
private  List<String> sourceDirs
           
private  boolean throwExceptionIfNotAllFilesProcessed
           
private  boolean writeGenerated
           
private  boolean writeManual
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
KSDictionaryCreatorMojo()
           
 
Method Summary
 void execute()
           
 List<String> getClassNames()
           
private  ServiceContractModel getModel()
           
 File getOutputDirectory()
           
 List<String> getSourceDirs()
           
 boolean isThrowExceptionIfNotAllFilesProcessed()
           
 boolean isWriteGenerated()
           
 boolean isWriteManual()
           
 void setClassNames(List<String> classNames)
           
 void setOutputDirectory(File htmlDirectory)
           
 void setSourceDirs(List<String> sourceDirs)
           
 void setThrowExceptionIfNotAllFilesProcessed(boolean throwExceptionIfNotAllFilesProcessed)
           
 void setWriteGenerated(boolean writeGenerated)
           
 void setWriteManual(boolean writeManual)
           
private  boolean validate(ServiceContractModel model)
           
 
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
 

Field Detail

throwExceptionIfNotAllFilesProcessed

private boolean throwExceptionIfNotAllFilesProcessed

sourceDirs

private List<String> sourceDirs

outputDirectory

private File outputDirectory

writeManual

private boolean writeManual

writeGenerated

private boolean writeGenerated

classNames

private List<String> classNames
Constructor Detail

KSDictionaryCreatorMojo

public KSDictionaryCreatorMojo()
Method Detail

isThrowExceptionIfNotAllFilesProcessed

public boolean isThrowExceptionIfNotAllFilesProcessed()

setThrowExceptionIfNotAllFilesProcessed

public void setThrowExceptionIfNotAllFilesProcessed(boolean throwExceptionIfNotAllFilesProcessed)

getOutputDirectory

public File getOutputDirectory()

getSourceDirs

public List<String> getSourceDirs()

isWriteManual

public boolean isWriteManual()

isWriteGenerated

public boolean isWriteGenerated()

getClassNames

public List<String> getClassNames()

setClassNames

public void setClassNames(List<String> classNames)

setWriteManual

public void setWriteManual(boolean writeManual)

setWriteGenerated

public void setWriteGenerated(boolean writeGenerated)

setOutputDirectory

public void setOutputDirectory(File htmlDirectory)

setSourceDirs

public void setSourceDirs(List<String> sourceDirs)

getModel

private ServiceContractModel getModel()

validate

private boolean validate(ServiceContractModel model)

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.