public class IsmlCompile
Task for compiling isml to class files.
@NotNull public static java.lang.String PAGECOMPILE_FOLDER
Variable for default page compile folder name.
@NotNull public static java.lang.String FILTER_JSP
Variable for default JSP filter string.
public static com.intershop.gradle.isml.tasks.IsmlCompile.Companion Companion
@Inject
public IsmlCompile(@NotNull
org.gradle.workers.WorkerExecutor workerExecutor)
creates an instance with worker
workerExecutor - @Inject @NotNull public org.gradle.api.model.ObjectFactory getObjectFactory()
Inject service of ObjectFactory (See "Service injection" in Gradle documentation.
@Inject @NotNull public org.gradle.api.file.FileSystemOperations getFileSystemOperations()
Inject service of FileSystemOperations (See "Service injection" in Gradle documentation.
@OutputDirectory @NotNull public java.io.File getOutputDir()
Output directory for generated files.
public void setOutputDir(@NotNull
java.io.File value)
Output directory for generated files.
public void provideOutputDir(@NotNull
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> outputDir)
Add provider for outputDir.
@Optional @InputDirectory @NotNull public org.gradle.api.file.DirectoryProperty getTagLibsInputDir()
Input directory for TagLibs.
@SkipWhenEmpty @InputDirectory @NotNull public java.io.File getInputDir()
Input directory for ISML files.
public void setInputDir(@NotNull
java.io.File value)
Input directory for ISML files.
public void provideInputDir(@NotNull
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> inputDir)
Add provider for inputDir.
@Input @NotNull public java.lang.String getIsmlConfiguration()
ISMl configuration property.
public void setIsmlConfiguration(@NotNull
java.lang.String p)
ISMl configuration property.
public void provideIsmlConfiguration(@NotNull
org.gradle.api.provider.Provider<java.lang.String> ismlConfiguration)
Add provider for ismlConfiguration.
@Input @NotNull public java.lang.String getJspPackage()
JSP package configuration property.
public void setJspPackage(@NotNull
java.lang.String p)
JSP package configuration property.
public void provideJspPackage(@NotNull
org.gradle.api.provider.Provider<java.lang.String> jspPackage)
Add provider for jspPackage.
@Optional @Input @NotNull public java.lang.String getSourceSetName()
Java source set name.
public void setSourceSetName(@NotNull
java.lang.String p)
Java source set name.
public void provideSourceSetName(@NotNull
org.gradle.api.provider.Provider<java.lang.String> sourceSetName)
Add provider for sourceSetName.
@Input @NotNull public java.lang.String getSourceCompatibility()
Source compatibility configuration for ISML processing.
public void setSourceCompatibility(@NotNull
java.lang.String p)
Source compatibility configuration for ISML processing.
public void provideSourceCompatibility(@NotNull
org.gradle.api.provider.Provider<java.lang.String> sourceCompatibility)
Add provider for sourceCompatibility.
@Input @NotNull public java.lang.String getTargetCompatibility()
Target compatibility configuration for ISML processing.
public void setTargetCompatibility(@NotNull
java.lang.String p)
Target compatibility configuration for ISML processing.
public void provideTargetCompatibility(@NotNull
org.gradle.api.provider.Provider<java.lang.String> targetCompatibility)
Add provider for targetCompatibility.
@Input @NotNull public java.lang.String getEncoding()
Encoding configuration for ISML processing.
public void setEncoding(@NotNull
java.lang.String p)
Encoding configuration for ISML processing.
public void provideEncoding(@NotNull
org.gradle.api.provider.Provider<java.lang.String> encoding)
Add provider for encoding.
@InputFiles @NotNull public org.gradle.api.file.FileCollection getClasspathfiles()
Classpath files of the isml configuration.
@InputFiles @NotNull public org.gradle.api.file.FileCollection getToolsclasspathfiles()
Classpath files of the tools configuration.
public void forkOptions(@NotNull
org.gradle.api.Action<? super org.gradle.process.JavaForkOptions> forkOptionsAction)
Adds additional fork options.
@Input @NotNull public java.util.List<java.lang.String> getTldScanExcludes()
List of filenames, that should be excluded from the JspC file scan. The file name is check for the beginning of the name.
public void setTldScanExcludes(@NotNull
java.util.List<java.lang.String> p)
List of filenames, that should be excluded from the JspC file scan. The file name is check for the beginning of the name.
public void provideTldScanExcludes(@NotNull
org.gradle.api.provider.Provider<java.util.List> excludeList)
Add provider for encoding.
@Input @NotNull public java.util.List<java.lang.String> getTldScanIncludes()
List of filenames, that should be included in the JspC file scan. The file name is check for the beginning of the name.
The default value will be generated from the classpath if exclude list is empty.
public void setTldScanIncludes(@NotNull
java.util.List<java.lang.String> p)
List of filenames, that should be included in the JspC file scan. The file name is check for the beginning of the name.
The default value will be generated from the classpath if exclude list is empty.
public void provideTldScanIncludes(@NotNull
org.gradle.api.provider.Provider<java.util.List> includeList)
Add provider for tldScanIncludes.
@Input public boolean getEnableTldScan()
This will enable the TLD file scan of Jsp Compiler. It is only necessary if TLDs are used and available. Default value is false.
public void setEnableTldScan(boolean p)
This will enable the TLD file scan of Jsp Compiler. It is only necessary if TLDs are used and available. Default value is false.
public void provideEnableTldScan(@NotNull
org.gradle.api.provider.Provider<java.lang.Boolean> enableTldScan)
Add provider for enable TLD scan.
public void runIsmlCompile()
This is the task action and processes ISML files.
@NotNull public org.gradle.workers.WorkerExecutor getWorkerExecutor()