All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fge.compiler.CompilerOutput Maven / Gradle / Ivy

There is a newer version: 0.8.2
Show newest version
package com.github.fge.compiler;


import com.github.fge.jsonschema.core.report.MessageProvider;
import com.github.fge.jsonschema.core.report.ProcessingMessage;

public final class CompilerOutput
    implements MessageProvider
{
    private final CompilerOutputDirectory directory;

    public CompilerOutput(final CompilerOutputDirectory directory)
    {
        this.directory = directory;
    }

    public Class getGeneratedClass()
        throws CompilingException
    {
        return directory.getGeneratedClass();
    }

    public CompilerOutputDirectory getDirectory()
    {
        return directory;
    }

    @Override
    public ProcessingMessage newMessage()
    {
        return new ProcessingMessage();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy