Package org.codehaus.mojo.idlj
Class Source
- java.lang.Object
-
- org.codehaus.mojo.idlj.Source
-
public class Source extends java.lang.Object
This class represent the source tag available in the configuration tree of the maven plugin- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
additionalArguments
The list of additional, compiler-specific arguments to use.private java.lang.Boolean
compatible
Active the generation of java source compatible with jdk previous to 1.4private java.util.List<Define>
defines
The list of preprocessor symbols to define.private java.lang.Boolean
emitSkeletons
Whether the compiler should emit server skeletons.private java.lang.Boolean
emitStubs
Whether the compiler should emit client stubs.private java.util.Set<java.lang.String>
excludes
Specifies which files to exclude from compilation.private java.util.Set<java.lang.String>
includes
Specifies which files to include in compilation.private java.lang.String
packagePrefix
Specifies a single, global packageprefix to use for all modules.private java.util.List<PackagePrefix>
packagePrefixes
The list of package prefixes for certain types.private java.util.List<PackageTranslation>
packageTranslations
The list of package translations for certain types.
-
Constructor Summary
Constructors Constructor Description Source()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
compatible()
java.lang.Boolean
emitSkeletons()
java.lang.Boolean
emitStubs()
java.util.List<java.lang.String>
getAdditionalArguments()
java.util.List<Define>
getDefines()
java.util.Set<java.lang.String>
getExcludes()
java.util.Set<java.lang.String>
getIncludes()
java.lang.String
getPackagePrefix()
java.util.List<PackagePrefix>
getPackagePrefixes()
java.util.List<PackageTranslation>
getPackageTranslations()
-
-
-
Field Detail
-
compatible
private java.lang.Boolean compatible
Active the generation of java source compatible with jdk previous to 1.4
-
emitStubs
private java.lang.Boolean emitStubs
Whether the compiler should emit client stubs. Defaults to true.
-
emitSkeletons
private java.lang.Boolean emitSkeletons
Whether the compiler should emit server skeletons. Defaults to true.
-
packagePrefix
private java.lang.String packagePrefix
Specifies a single, global packageprefix to use for all modules.
-
includes
private java.util.Set<java.lang.String> includes
Specifies which files to include in compilation.
-
excludes
private java.util.Set<java.lang.String> excludes
Specifies which files to exclude from compilation.
-
packagePrefixes
private java.util.List<PackagePrefix> packagePrefixes
The list of package prefixes for certain types.
-
packageTranslations
private java.util.List<PackageTranslation> packageTranslations
The list of package translations for certain types.
-
defines
private java.util.List<Define> defines
The list of preprocessor symbols to define.
-
additionalArguments
private java.util.List<java.lang.String> additionalArguments
The list of additional, compiler-specific arguments to use.
-
-
Method Detail
-
getDefines
public java.util.List<Define> getDefines()
- Returns:
- a
List
with all the defines with this source
-
emitStubs
public java.lang.Boolean emitStubs()
- Returns:
- a
Boolean
true if and only if the creation of the stubs is enabled
-
emitSkeletons
public java.lang.Boolean emitSkeletons()
- Returns:
- a
Boolean
true if and only if the creation of the skeleton is enabled
-
compatible
public java.lang.Boolean compatible()
- Returns:
- a
Boolean
true if and only if the creation of compatible code is enabled
-
getExcludes
public java.util.Set<java.lang.String> getExcludes()
- Returns:
- a
Set
with all the exclusions pattern
-
getIncludes
public java.util.Set<java.lang.String> getIncludes()
- Returns:
- a
Set
with all the inclusions pattern
-
getPackagePrefix
public java.lang.String getPackagePrefix()
- Returns:
- the default package name that will be used as for all the generated classes
-
getPackagePrefixes
public java.util.List<PackagePrefix> getPackagePrefixes()
- Returns:
- a
List
ofPackagePrefix
to use for the generated files
-
getAdditionalArguments
public java.util.List<java.lang.String> getAdditionalArguments()
- Returns:
- a
List
ofString
that will be added as compiler parameters
-
getPackageTranslations
public java.util.List<PackageTranslation> getPackageTranslations()
- Returns:
- a
List
ofPackageTranslation
that map IDL module names to package names
-
-