org.codehaus.enunciate.modules.amf.config
Class FlexCompilerConfig

java.lang.Object
  extended by org.codehaus.enunciate.modules.amf.config.FlexCompilerConfig

public class FlexCompilerConfig
extends java.lang.Object

Configuration element for extra flex compiler options.

Author:
Ryan Heaton

Constructor Summary
FlexCompilerConfig()
           
 
Method Summary
 void addArg(java.lang.String arg)
          Extra args for the Flex compile.
 void addJVMArg(java.lang.String arg)
          Add a compile JVM arg to the list of those passed to the compiler.
 void addLicense(License license)
          Add a license.
 java.util.List<java.lang.String> getArgs()
          Extra args for the Flex compile.
 java.lang.String getContextRoot()
           
 java.lang.Boolean getDebug()
           
 java.lang.String getFlexCompileCommand()
          The flex compiler command.
 java.io.File getFlexConfig()
           
 java.lang.Boolean getIncremental()
           
 java.util.List<java.lang.String> getJVMArgs()
          Get the list of JVM args to be passed to the flex compiler.
 java.util.List<License> getLicenses()
          Get the licenses for the compiler.
 java.lang.String getLocale()
           
 java.lang.Boolean getOptimize()
           
 java.lang.Boolean getProfile()
           
 java.lang.Boolean getShowActionscriptWarnings()
           
 java.lang.Boolean getShowBindingWarnings()
           
 java.lang.Boolean getShowDeprecationWarnings()
           
 java.lang.Boolean getStrict()
           
 java.lang.String getSwcCompileCommand()
          The SWC compile command.
 java.lang.Boolean getUseNetwork()
           
 java.lang.Boolean getWarnings()
           
 void setContextRoot(java.lang.String contextRoot)
           
 void setDebug(java.lang.Boolean debug)
           
 void setFlexCompileCommand(java.lang.String flexCompileCommand)
          The flex compiler command.
 void setFlexConfig(java.io.File flexConfig)
           
 void setIncremental(java.lang.Boolean incremental)
           
 void setLocale(java.lang.String locale)
           
 void setOptimize(java.lang.Boolean optimize)
           
 void setProfile(java.lang.Boolean profile)
           
 void setShowActionscriptWarnings(java.lang.Boolean showActionscriptWarnings)
           
 void setShowBindingWarnings(java.lang.Boolean showBindingWarnings)
           
 void setShowDeprecationWarnings(java.lang.Boolean showDeprecationWarnings)
           
 void setStrict(java.lang.Boolean strict)
           
 void setSwcCompileCommand(java.lang.String swcCompileCommand)
          The SWC compile command.
 void setUseNetwork(java.lang.Boolean useNetwork)
           
 void setWarnings(java.lang.Boolean warnings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlexCompilerConfig

public FlexCompilerConfig()
Method Detail

getSwcCompileCommand

public java.lang.String getSwcCompileCommand()
The SWC compile command.

Returns:
The SWC compile command.

setSwcCompileCommand

public void setSwcCompileCommand(java.lang.String swcCompileCommand)
The SWC compile command.

Parameters:
swcCompileCommand - The SWC compile command.

getFlexCompileCommand

public java.lang.String getFlexCompileCommand()
The flex compiler command.

Returns:
The flex compiler command.

setFlexCompileCommand

public void setFlexCompileCommand(java.lang.String flexCompileCommand)
The flex compiler command.

Parameters:
flexCompileCommand - The flex compiler command.

getContextRoot

public java.lang.String getContextRoot()

setContextRoot

public void setContextRoot(java.lang.String contextRoot)

getJVMArgs

public java.util.List<java.lang.String> getJVMArgs()
Get the list of JVM args to be passed to the flex compiler.

Returns:
the list of JVM args to be passed to the flex compiler.

addJVMArg

public void addJVMArg(java.lang.String arg)
Add a compile JVM arg to the list of those passed to the compiler.

Parameters:
arg - The argument to pass.

getArgs

public java.util.List<java.lang.String> getArgs()
Extra args for the Flex compile.

Returns:
Extra args for the Flex compile.

addArg

public void addArg(java.lang.String arg)
Extra args for the Flex compile.

Parameters:
arg - Extra args for the Flex compile.

getLicenses

public java.util.List<License> getLicenses()
Get the licenses for the compiler.

Returns:
The licenses.

addLicense

public void addLicense(License license)
Add a license.

Parameters:
license - The license to add.

getFlexConfig

public java.io.File getFlexConfig()

setFlexConfig

public void setFlexConfig(java.io.File flexConfig)

getLocale

public java.lang.String getLocale()

setLocale

public void setLocale(java.lang.String locale)

getOptimize

public java.lang.Boolean getOptimize()

setOptimize

public void setOptimize(java.lang.Boolean optimize)

getDebug

public java.lang.Boolean getDebug()

setDebug

public void setDebug(java.lang.Boolean debug)

getProfile

public java.lang.Boolean getProfile()

setProfile

public void setProfile(java.lang.Boolean profile)

getStrict

public java.lang.Boolean getStrict()

setStrict

public void setStrict(java.lang.Boolean strict)

getUseNetwork

public java.lang.Boolean getUseNetwork()

setUseNetwork

public void setUseNetwork(java.lang.Boolean useNetwork)

getIncremental

public java.lang.Boolean getIncremental()

setIncremental

public void setIncremental(java.lang.Boolean incremental)

getWarnings

public java.lang.Boolean getWarnings()

setWarnings

public void setWarnings(java.lang.Boolean warnings)

getShowActionscriptWarnings

public java.lang.Boolean getShowActionscriptWarnings()

setShowActionscriptWarnings

public void setShowActionscriptWarnings(java.lang.Boolean showActionscriptWarnings)

getShowBindingWarnings

public java.lang.Boolean getShowBindingWarnings()

setShowBindingWarnings

public void setShowBindingWarnings(java.lang.Boolean showBindingWarnings)

getShowDeprecationWarnings

public java.lang.Boolean getShowDeprecationWarnings()

setShowDeprecationWarnings

public void setShowDeprecationWarnings(java.lang.Boolean showDeprecationWarnings)