Class FileContext


  • public final class FileContext
    extends Object
    File context for plugins.
    • Constructor Detail

      • FileContext

        public FileContext()
    • Method Detail

      • getFile

        public File getFile()
        Returns:
        File
      • file

        public FileContext file​(File value)
        Parameters:
        value - File
        Returns:
        this
      • getCanonicalPath

        public String getCanonicalPath()
        Returns:
        Canonical path
      • getCharset

        public String getCharset()
        Returns:
        Charset
      • charset

        public FileContext charset​(String value)
        Parameters:
        value - Charset
        Returns:
        this
      • charset

        public FileContext charset​(Charset value)
        Parameters:
        value - Charset
        Returns:
        this
      • getModelOptions

        public Map<String,​Object> getModelOptions()
        Returns:
        Model options
      • getTargetDir

        public File getTargetDir()
        Returns:
        Target directory for generated configuration
      • targetDir

        public FileContext targetDir​(File value)
        Parameters:
        value - Target directory for generated configuration
        Returns:
        this