|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.weblogic.AbstractWeblogicMojo
public abstract class AbstractWeblogicMojo
This class wraps handling for common functions for all weblogic plugin implementations. Specifically, this class manages the all important 'weblogic.home' property.
| Field Summary | |
|---|---|
static String |
WEBLOGIC_HOME_KEY
Property key for weblogic.home |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractWeblogicMojo()
|
|
| Method Summary | |
|---|---|
protected void |
createTargetDirectory()
Creates the target directory if it is missing from the file system. |
void |
execute()
Sets system property for weblogic.home |
Set |
getArtifacts()
Getter for property artifacts. |
protected org.apache.tools.ant.BuildListener |
getDefaultLogger()
Generate a logger by using the default settings. |
List |
getDependencies()
Getter for the list of dependencies |
String |
getOutputDirectory()
Getter for the outputDirectory |
List |
getPluginArtifacts()
The artifacts managed to the plugin |
String |
getWeblogicHome()
Getter for weblogic.home |
void |
setArtifacts(Set inArtifacts)
Setter for the artifacts. |
void |
setDependencies(List dependencies)
Setter for the dependencies |
void |
setOutputDirectory(String outputDirectory)
Setter for the output directory |
void |
setPluginArtifacts(List pluginArtifacts)
Setter for the plugin artifacts |
protected void |
setProperties()
Sets the weblogic.home property |
void |
setWeblogicHome(String weblogicHome)
Setter for weblogic.home |
String |
toString()
Meaningful toString |
| 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, wait, wait, wait |
| Field Detail |
|---|
public static final String WEBLOGIC_HOME_KEY
| Constructor Detail |
|---|
public AbstractWeblogicMojo()
| Method Detail |
|---|
public String getWeblogicHome()
public void setWeblogicHome(String weblogicHome)
weblogicHome - - a fully qualified path to weblogic home directorypublic Set getArtifacts()
public final void setArtifacts(Set inArtifacts)
inArtifacts - The value of artifacts.
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionweblogicHomeprotected void setProperties()
WEBLOGIC_HOME_KEY,
System.setProperty(String, String)protected org.apache.tools.ant.BuildListener getDefaultLogger()
protected void createTargetDirectory()
public String getOutputDirectory()
public void setOutputDirectory(String outputDirectory)
outputDirectory - - the directory to write topublic List getDependencies()
public void setDependencies(List dependencies)
dependencies - the dependencies to setpublic List getPluginArtifacts()
public void setPluginArtifacts(List pluginArtifacts)
pluginArtifacts - the artifacts to setpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||