Class DefaultAspectjSourceSet
- java.lang.Object
-
- io.freefair.gradle.plugins.aspectj.internal.DefaultWeavingSourceSet
-
- io.freefair.gradle.plugins.aspectj.internal.DefaultAspectjSourceSet
-
- All Implemented Interfaces:
AspectjSourceSet
,WeavingSourceSet
,HasPublicType
public class DefaultAspectjSourceSet extends DefaultWeavingSourceSet implements AspectjSourceSet, HasPublicType
- See Also:
DefaultGroovySourceSet
-
-
Constructor Summary
Constructors Constructor Description DefaultAspectjSourceSet(ObjectFactory objectFactory, SourceSet sourceSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AspectjSourceSet
aspectj(groovy.lang.Closure configureClosure)
Configures the Groovy source for this set.AspectjSourceSet
aspectj(Action<? super SourceDirectorySet> configureAction)
Configures the Groovy source for this set.SourceDirectorySet
getAllAspectj()
All Groovy source for this source set.SourceDirectorySet
getAspectj()
Returns the source to be compiled by the Groovy compiler for this source set.TypeOf<?>
getPublicType()
-
Methods inherited from class io.freefair.gradle.plugins.aspectj.internal.DefaultWeavingSourceSet
canEqual, equals, getAspectConfigurationName, getAspectPath, getInPath, getInpathConfigurationName, hashCode, setAspectPath, setInPath, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.freefair.gradle.plugins.aspectj.WeavingSourceSet
getAspectConfigurationName, getAspectPath, getInPath, getInpathConfigurationName, setAspectPath, setInPath
-
-
-
-
Constructor Detail
-
DefaultAspectjSourceSet
public DefaultAspectjSourceSet(ObjectFactory objectFactory, SourceSet sourceSet)
-
-
Method Detail
-
aspectj
public AspectjSourceSet aspectj(@Nullable groovy.lang.Closure configureClosure)
Description copied from interface:AspectjSourceSet
Configures the Groovy source for this set.The given closure is used to configure the
SourceDirectorySet
which contains the Groovy source.- Specified by:
aspectj
in interfaceAspectjSourceSet
- Parameters:
configureClosure
- The closure to use to configure the Groovy source.- Returns:
- this
-
aspectj
public AspectjSourceSet aspectj(Action<? super SourceDirectorySet> configureAction)
Description copied from interface:AspectjSourceSet
Configures the Groovy source for this set.The given action is used to configure the
SourceDirectorySet
which contains the Groovy source.- Specified by:
aspectj
in interfaceAspectjSourceSet
- Parameters:
configureAction
- The action to use to configure the Groovy source.- Returns:
- this
-
getPublicType
public TypeOf<?> getPublicType()
- Specified by:
getPublicType
in interfaceHasPublicType
- Overrides:
getPublicType
in classDefaultWeavingSourceSet
-
getAspectj
public SourceDirectorySet getAspectj()
Description copied from interface:AspectjSourceSet
Returns the source to be compiled by the Groovy compiler for this source set. Any Java source present in this set will be passed to the Groovy compiler for joint compilation.- Specified by:
getAspectj
in interfaceAspectjSourceSet
- Returns:
- The Groovy/Java source. Never returns null.
-
getAllAspectj
public SourceDirectorySet getAllAspectj()
Description copied from interface:AspectjSourceSet
All Groovy source for this source set.- Specified by:
getAllAspectj
in interfaceAspectjSourceSet
- Returns:
- the Groovy source. Never returns null.
-
-