Class MojoContext

java.lang.Object
com.dslplatform.compiler.client.Context
com.dslplatform.mojo.MojoContext
All Implemented Interfaces:
Closeable, AutoCloseable

class MojoContext extends com.dslplatform.compiler.client.Context
  • Field Details

    • errorLog

      final StringBuilder errorLog
    • log

      final org.apache.maven.plugin.logging.Log log
  • Constructor Details

    • MojoContext

      MojoContext(org.apache.maven.plugin.logging.Log log)
  • Method Details

    • with

      public MojoContext with(com.dslplatform.compiler.client.parameters.Settings.Option option)
    • with

      public MojoContext with(com.dslplatform.compiler.client.CompileParameter parameter)
    • with

      public MojoContext with(com.dslplatform.compiler.client.CompileParameter parameter, String value)
    • with

      public MojoContext with(String option)
    • with

      public MojoContext with(String option, String value)
    • with

      public MojoContext with(List<com.dslplatform.compiler.client.parameters.Settings.Option> settings)
    • with

      public <K> MojoContext with(Map<K,String> compileParameters)
    • show

      public void show(String... values)
      Overrides:
      show in class com.dslplatform.compiler.client.Context
    • log

      public void log(String value)
      Overrides:
      log in class com.dslplatform.compiler.client.Context
    • log

      public void log(char[] value, int len)
      Overrides:
      log in class com.dslplatform.compiler.client.Context
    • warning

      public void warning(String value)
      Overrides:
      warning in class com.dslplatform.compiler.client.Context
    • warning

      public void warning(Exception ex)
      Overrides:
      warning in class com.dslplatform.compiler.client.Context
    • error

      public void error(String value)
      Overrides:
      error in class com.dslplatform.compiler.client.Context
    • error

      public void error(Exception ex)
      Overrides:
      error in class com.dslplatform.compiler.client.Context