org.codehaus.mojo.weblogic
Class AppcMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.weblogic.AbstractWeblogicMojo
          extended by org.codehaus.mojo.weblogic.AppcMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AppcMojo
extends AbstractWeblogicMojo

Run the weblogic appc compiler against an artifact.

Version:
$Id: AppcMojo.java 7025 2008-05-21 01:50:58Z jonnio $
Author:
Scott Ryan

Field Summary
 
Fields inherited from class org.codehaus.mojo.weblogic.AbstractWeblogicMojo
WEBLOGIC_HOME_KEY
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AppcMojo()
           
 
Method Summary
 void execute()
          This method will perform the appc compilation of artifact.
 String getInputArtifactPath()
          Getter for property input artifact path.
 String getOutputArtifactPath()
          Getter for property output artifact path.
 String getProjectPackaging()
          Getter for property project packaging.
 boolean isBasicClientJar()
          Getter for property basic client jar.
 boolean isForceGeneration()
          Getter for property force generation.
 boolean isKeepGenerated()
          Getter for property keep generated.
 boolean isLineNumbers()
          Getter for property line numbers.
 boolean isVerbose()
          Getter for property verbose.
 void setBasicClientJar(boolean inBasicClientJar)
          Setter for the basic client jar.
 void setForceGeneration(boolean inForceGeneration)
          Setter for the force generation.
 void setInputArtifactPath(String inInputArtifactPath)
          Setter for the input artifact path.
 void setKeepGenerated(boolean inKeepGenerated)
          Setter for the keep generated.
 void setLineNumbers(boolean inLineNumbers)
          Setter for the line numbers.
 void setOutputArtifactPath(String inOutputArtifactPath)
          Setter for the output artifact path.
 void setProjectPackaging(String inProjectPackaging)
          Setter for the project packaging.
 void setVerbose(boolean inVerbose)
          Setter for the verbose.
 String toString()
          This method creates a String representation of this object.
 
Methods inherited from class org.codehaus.mojo.weblogic.AbstractWeblogicMojo
createTargetDirectory, getArtifacts, getDefaultLogger, getDependencies, getOutputDirectory, getPluginArtifacts, getWeblogicHome, setArtifacts, setDependencies, setOutputDirectory, setPluginArtifacts, setProperties, setWeblogicHome
 
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
 

Constructor Detail

AppcMojo

public AppcMojo()
Method Detail

getInputArtifactPath

public String getInputArtifactPath()
Getter for property input artifact path.

Returns:
The value of input artifact path.

setInputArtifactPath

public void setInputArtifactPath(String inInputArtifactPath)
Setter for the input artifact path.

Parameters:
inInputArtifactPath - The value of input artifact path.

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
This method will perform the appc compilation of artifact. Calls super.execute()

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractWeblogicMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - Thrown if we fail to access the complier or the comilation fails.
See Also:
AbstractWeblogicMojo.weblogicHome

isVerbose

public boolean isVerbose()
Getter for property verbose.

Returns:
The value of verbose.

setVerbose

public void setVerbose(boolean inVerbose)
Setter for the verbose.

Parameters:
inVerbose - The value of verbose.

isBasicClientJar

public boolean isBasicClientJar()
Getter for property basic client jar.

Returns:
The value of basic client jar.

setBasicClientJar

public void setBasicClientJar(boolean inBasicClientJar)
Setter for the basic client jar.

Parameters:
inBasicClientJar - The value of basic client jar.

isForceGeneration

public boolean isForceGeneration()
Getter for property force generation.

Returns:
The value of force generation.

setForceGeneration

public void setForceGeneration(boolean inForceGeneration)
Setter for the force generation.

Parameters:
inForceGeneration - The value of force generation.

isKeepGenerated

public boolean isKeepGenerated()
Getter for property keep generated.

Returns:
The value of keep generated.

setKeepGenerated

public void setKeepGenerated(boolean inKeepGenerated)
Setter for the keep generated.

Parameters:
inKeepGenerated - The value of keep generated.

isLineNumbers

public boolean isLineNumbers()
Getter for property line numbers.

Returns:
The value of line numbers.

setLineNumbers

public void setLineNumbers(boolean inLineNumbers)
Setter for the line numbers.

Parameters:
inLineNumbers - The value of line numbers.

getOutputArtifactPath

public String getOutputArtifactPath()
Getter for property output artifact path.

Returns:
The value of output artifact path.

setOutputArtifactPath

public void setOutputArtifactPath(String inOutputArtifactPath)
Setter for the output artifact path.

Parameters:
inOutputArtifactPath - The value of output artifact path.

getProjectPackaging

public String getProjectPackaging()
Getter for property project packaging.

Returns:
The value of project packaging.

setProjectPackaging

public void setProjectPackaging(String inProjectPackaging)
Setter for the project packaging.

Parameters:
inProjectPackaging - The value of project packaging.

toString

public String toString()
This method creates a String representation of this object.

Overrides:
toString in class AbstractWeblogicMojo
Returns:
The String representation of this object.


Copyright © 2005-2008 Codehaus. All Rights Reserved.