Interface WithModuleSourceOptionsCall<T>

Type Parameters:
T - The type of the tool
All Superinterfaces:
Call<T>, WithModuleOptionsCall<T>
All Known Implementing Classes:
Javac, Javadoc

public interface WithModuleSourceOptionsCall<T>
extends WithModuleOptionsCall<T>
A tool call with a list of module source-related options.
  • Method Details

    • withModuleSourcePath

      default T withModuleSourcePath​(String moduleSourcePath)
      Specify where to find input source files for multiple modules.
      Parameters:
      moduleSourcePath - The path where to find input source files for multiple modules
      Returns:
      A new tool call instance with --module-source-path <module-source-path> appended to the list of arguments
    • withEncoding

      default T withEncoding​(String encoding)
      Specify character encoding used by source files.
      Parameters:
      encoding - The character encoding used by source files
      Returns:
      A new tool call instance with -encoding <encoding> appended to the list of arguments