org.codehaus.mojo.weblogic
Class JwscMojo

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

public class JwscMojo
extends AbstractWeblogicMojo

Runs the JWSC compiler task for web service enabled code.

Since:
weblogic-maven-plugin-2.9.1-SNAPSHOT
Version:
$Id: JwscMojo.java 7025 2008-05-21 01:50:58Z jonnio $
Author:
Jon Osborn

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
JwscMojo()
           
 
Method Summary
 void execute()
          This method will run the jswc on the target files
 String getContextPath()
           
 String getDescriptor()
           
 String getInputDir()
          Getter for inputDir
 String getOutputDir()
           
 String getOutputName()
           
 boolean isDebug()
           
 boolean isExplode()
           
 boolean isOptimize()
           
 boolean isVerbose()
          Getter for verbose
 void setContextPath(String contextPath)
           
 void setDebug(boolean debug)
           
 void setDescriptor(String descriptor)
           
 void setExplode(boolean explode)
           
 void setInputDir(String inputDir)
          Setter for inputDir
 void setOptimize(boolean optimize)
           
 void setOutputDir(String outputDir)
           
 void setOutputName(String outputName)
           
 void setVerbose(boolean verbose)
           
 String toString()
          Meaningful toString implementation
 
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

JwscMojo

public JwscMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
This method will run the jswc on the target files

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 obtain the WSDL.
See Also:
AbstractWeblogicMojo.weblogicHome

getOutputName

public String getOutputName()
Returns:
the outputName

setOutputName

public void setOutputName(String outputName)
Parameters:
outputName - the outputName to set

getOutputDir

public String getOutputDir()
Returns:
the outputDir

setOutputDir

public void setOutputDir(String outputDir)
Parameters:
outputDir - the outputDir to set

getInputDir

public String getInputDir()
Getter for inputDir

Returns:
the inputDir

setInputDir

public void setInputDir(String inputDir)
Setter for inputDir

Parameters:
inputDir - the inputDir to set

isVerbose

public boolean isVerbose()
Getter for verbose

Returns:
the verbose

setVerbose

public void setVerbose(boolean verbose)
Parameters:
verbose - the verbose to set

isDebug

public boolean isDebug()
Returns:
the debug

setDebug

public void setDebug(boolean debug)
Parameters:
debug - the debug to set

isExplode

public boolean isExplode()
Returns:
the explode

setExplode

public void setExplode(boolean explode)
Parameters:
explode - the explode to set

isOptimize

public boolean isOptimize()
Returns:
the optimize

setOptimize

public void setOptimize(boolean optimize)
Parameters:
optimize - the optimize to set

getContextPath

public String getContextPath()
Returns:
the contextPath

setContextPath

public void setContextPath(String contextPath)
Parameters:
contextPath - the contextPath to set

getDescriptor

public String getDescriptor()
Returns:
the descriptor

setDescriptor

public void setDescriptor(String descriptor)
Parameters:
descriptor - the descriptor to set

toString

public String toString()
Meaningful toString implementation

Overrides:
toString in class AbstractWeblogicMojo
Returns:
the string representation of this object


Copyright © 2005-2008 Codehaus. All Rights Reserved.