Class CompilationResultImpl

java.lang.Object
org.faktorips.fl.AbstractCompilationResult<org.faktorips.codegen.JavaCodeFragment>
org.faktorips.fl.CompilationResultImpl
All Implemented Interfaces:
CompilationResult<org.faktorips.codegen.JavaCodeFragment>

public class CompilationResultImpl extends AbstractCompilationResult<org.faktorips.codegen.JavaCodeFragment>
Implementation of the CompilationResult interface for Java code.
  • Constructor Details

    • CompilationResultImpl

      public CompilationResultImpl(org.faktorips.codegen.JavaCodeFragment sourcecode, org.faktorips.datatype.Datatype datatype, org.faktorips.runtime.MessageList messages)
      Creates a CompilationResult with the given parameters.
    • CompilationResultImpl

      public CompilationResultImpl(org.faktorips.codegen.JavaCodeFragment sourcecode, org.faktorips.datatype.Datatype datatype)
      Creates a CompilationResult that contains the given source code fragment and Datatype.
    • CompilationResultImpl

      public CompilationResultImpl(String sourcecode, org.faktorips.datatype.Datatype datatype)
      Creates a CompilationResult that contains the given source code and Datatype.
      Throws:
      IllegalArgumentException - if either sourcecode or datatype is null.
    • CompilationResultImpl

      public CompilationResultImpl(org.faktorips.runtime.Message message)
      Creates a CompilationResult that contains the given Message.
      Throws:
      IllegalArgumentException - if message is null.
    • CompilationResultImpl

      public CompilationResultImpl()
      Creates a new CompilationResult.
  • Method Details