Interface ModelContext

  • All Known Implementing Classes:
    FileSystemModelContext

    public interface ModelContext
    Context for generating a Model.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • createModelFile

        ModelFile createModelFile​(java.lang.String relativeLocation,
                                  java.io.InputStream contents)
                           throws java.lang.Exception
        Creates the ModelFile within this ModelContext.
        Parameters:
        relativeLocation - Relative location within this ModelContext to create the ModelFile.
        contents - Contents to be written to the ModelFile.
        Returns:
        Created ModelFile.
        Throws:
        java.lang.Exception - If fails to create the ModelFile.