Class AspectJCompileOptions
- java.lang.Object
- 
- org.gradle.api.tasks.compile.AbstractOptions
- 
- io.freefair.gradle.plugins.aspectj.AspectJCompileOptions
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class AspectJCompileOptions extends AbstractOptions Compilation options to be passed to the AspectJ compiler.- See Also:
- GroovyCompileOptions,- ScalaCompileOptions, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AspectJCompileOptions(ObjectFactory objectFactory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ConfigurableFileCollectiongetAspectpath()Weave binary aspects from jar files and directories on path into all sources.ConfigurableFileCollectiongetBootclasspath()Override location of VM's bootclasspath for purposes of evaluating types when compiling.List<String>getCompilerArgs()Any additional arguments to be passed to the compiler.List<CommandLineArgumentProvider>getCompilerArgumentProviders()Property<Boolean>getCrossrefs()Generate a build .ajsym file into the output directory.Property<String>getEncoding()Specify default source encoding format.ConfigurableFileCollectiongetExtdirs()Override location of VM's extension directories for purposes of evaluating types when compiling.AjcForkOptionsgetForkOptions()Options for running the compiler in a child process.ConfigurableFileCollectiongetInpath()Accept as source bytecode any .class files in the .jar files or directories on Path.RegularFilePropertygetOutjar()Put output classes in zip file output.jar.Property<Boolean>getOutxml()Generate aop xml file for load-time weaving with default name (META-INF/aop-ajc.xml).Property<String>getOutxmlfile()Generate aop.xml file for load-time weaving with custom name.ConfigurableFileCollectiongetSourceroots()Find and build all .java or .aj source files under any directory listed in DirPaths.Property<Boolean>getVerbose()Emit messages about accessed/processed compilation units.inthashCode()voidsetCompilerArgs(List<String> compilerArgs)Any additional arguments to be passed to the compiler.voidsetCompilerArgumentProviders(List<CommandLineArgumentProvider> compilerArgumentProviders)voidsetForkOptions(AjcForkOptions forkOptions)Options for running the compiler in a child process.StringtoString()- 
Methods inherited from class org.gradle.api.tasks.compile.AbstractOptionsdefine, excludeFromAntProperties, getAntPropertyName, getAntPropertyValue, optionMap
 
- 
 
- 
- 
- 
Constructor Detail- 
AspectJCompileOptions@Inject public AspectJCompileOptions(ObjectFactory objectFactory) 
 
- 
 - 
Method Detail- 
getInpathpublic ConfigurableFileCollection getInpath() Accept as source bytecode any .class files in the .jar files or directories on Path. The output will include these classes, possibly as woven with any applicable aspects. Path is a single argument containing a list of paths to zip files or directories.
 - 
getAspectpathpublic ConfigurableFileCollection getAspectpath() Weave binary aspects from jar files and directories on path into all sources. The aspects should have been output by the same version of the compiler. When running the output classes, the run classpath should contain all aspectpath entries. Path, like classpath, is a single argument containing a list of paths to jar files.
 - 
getOutjarpublic RegularFileProperty getOutjar() Put output classes in zip file output.jar.
 - 
getOutxmlpublic Property<Boolean> getOutxml() Generate aop xml file for load-time weaving with default name (META-INF/aop-ajc.xml).
 - 
getOutxmlfilepublic Property<String> getOutxmlfile() Generate aop.xml file for load-time weaving with custom name.
 - 
getSourcerootspublic ConfigurableFileCollection getSourceroots() Find and build all .java or .aj source files under any directory listed in DirPaths. DirPaths, like classpath, is a single argument containing a list of paths to directories.
 - 
getCrossrefspublic Property<Boolean> getCrossrefs() Generate a build .ajsym file into the output directory. Used for viewing crosscutting references by tools like the AspectJ Browser.
 - 
getBootclasspathpublic ConfigurableFileCollection getBootclasspath() Override location of VM's bootclasspath for purposes of evaluating types when compiling. Path is a single argument containing a list of paths to zip files or directories.
 - 
getExtdirspublic ConfigurableFileCollection getExtdirs() Override location of VM's extension directories for purposes of evaluating types when compiling. Path is a single argument containing a list of paths to directories.
 - 
getVerbosepublic Property<Boolean> getVerbose() Emit messages about accessed/processed compilation units.
 - 
getCompilerArgspublic List<String> getCompilerArgs() Any additional arguments to be passed to the compiler.
 - 
getCompilerArgumentProviderspublic List<CommandLineArgumentProvider> getCompilerArgumentProviders() 
 - 
getForkOptionspublic AjcForkOptions getForkOptions() Options for running the compiler in a child process.
 - 
setCompilerArgspublic void setCompilerArgs(List<String> compilerArgs) Any additional arguments to be passed to the compiler.
 - 
setCompilerArgumentProviderspublic void setCompilerArgumentProviders(List<CommandLineArgumentProvider> compilerArgumentProviders) 
 - 
setForkOptionspublic void setForkOptions(AjcForkOptions forkOptions) Options for running the compiler in a child process.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-