org.codehaus.mojo.hibernate3
Interface ExporterMojo

All Superinterfaces:
org.apache.maven.plugin.Mojo

public interface ExporterMojo
extends org.apache.maven.plugin.Mojo

Interface for the different types of exporters found in hibernate-tools.

Version:
$Id: ExporterMojo.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Johann Reyes

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Method Summary
 java.lang.String getComponentProperty(java.lang.String key)
          Returns the value from the componentProperties element which key is the one being passed.
 boolean getComponentProperty(java.lang.String key, boolean defaultValue)
          Returns the value from the componentProperties element as a boolean value, or if a value is not found returns the default value.
 java.lang.String getComponentProperty(java.lang.String key, java.lang.String defaultValue)
          Returns the value from the componentProperties element which key is the one being passed, or if is null or empty then returns the default value being specified.
 java.lang.String getName()
          Name of the goal being invoked.
 org.apache.maven.project.MavenProject getProject()
          Returns the MavenProject object.
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute, getLog, setLog
 

Method Detail

getComponentProperty

java.lang.String getComponentProperty(java.lang.String key)
Returns the value from the componentProperties element which key is the one being passed.

Parameters:
key - Key
Returns:
String

getComponentProperty

java.lang.String getComponentProperty(java.lang.String key,
                                      java.lang.String defaultValue)
Returns the value from the componentProperties element which key is the one being passed, or if is null or empty then returns the default value being specified.

Parameters:
key - Key
defaultValue - Default value
Returns:
String

getComponentProperty

boolean getComponentProperty(java.lang.String key,
                             boolean defaultValue)
Returns the value from the componentProperties element as a boolean value, or if a value is not found returns the default value.

Parameters:
key - Key
defaultValue - Default value
Returns:
boolean

getName

java.lang.String getName()
Name of the goal being invoked.

Returns:
String goal's name

getProject

org.apache.maven.project.MavenProject getProject()
Returns the MavenProject object.

Returns:
MavenProject


Copyright © 2005-2009. All Rights Reserved.