org.apache.directory.server.core.tools.schema
Class DirectorySchemaToolMojo
java.lang.Object
AbstractMojo
org.apache.directory.server.core.tools.schema.DirectorySchemaToolMojo
public class DirectorySchemaToolMojo
- extends AbstractMojo
Maven 2 plugin mojo wrapper for directory plugin.
- Version:
- $Rev: 434570 $
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectorySchemaToolMojo
public DirectorySchemaToolMojo()
throws java.lang.Exception
- Throws:
java.lang.Exception
generateSchema
protected void generateSchema(BootstrapSchema schema)
throws java.lang.Exception
- Throws:
java.lang.Exception
generateRest
protected void generateRest(BootstrapSchema schema)
throws java.lang.Exception
- Throws:
java.lang.Exception
generateAttributeTypes
protected void generateAttributeTypes(OpenLdapSchemaParser parser,
BootstrapSchema schema)
throws java.lang.Exception
- Throws:
java.lang.Exception
generateObjectClasses
protected void generateObjectClasses(OpenLdapSchemaParser parser,
BootstrapSchema schema)
throws java.lang.Exception
- Throws:
java.lang.Exception
runVelocity
protected void runVelocity(java.lang.String pkg,
java.lang.String uqcn,
VelocityContext context,
java.lang.String template,
ProducerTypeEnum type)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResourceReader
protected java.io.Reader getResourceReader(java.lang.String res)
throws java.io.IOException
- Throws:
java.io.IOException
mkdirs
protected boolean mkdirs(java.lang.String base,
java.lang.String path)
getResourceWriter
protected java.io.FileWriter getResourceWriter(java.lang.String pkg,
java.lang.String classname)
throws java.io.IOException
- Throws:
java.io.IOException
exists
protected boolean exists(java.lang.String defaultClass,
ProducerTypeEnum type)
execute
public void execute()
throws MojoExecutionException
- Throws:
MojoExecutionException