Class CodeContextFactoryService.Result<D extends CodeDelegate>

  • Type Parameters:
    D - delegate type
    Enclosing class:
    CodeContextFactoryService

    public static final class CodeContextFactoryService.Result<D extends CodeDelegate>
    extends Object
    Result from service on successful creation of context and delegate.
    • Constructor Detail

      • Result

        public Result​(CodeContext<D> context,
                      LogBuilder log)
        Create result, for use by service provider.
        Parameters:
        context -
        log -
    • Method Detail

      • getContext

        public CodeContext<D> getContext()
        Get created context.
        Returns:
        context
      • getLog

        public LogBuilder getLog()
        Get log builder with any warning or error messages.
        Returns:
        log