Class Initializer

  • All Implemented Interfaces:
    org.intocps.maestro.plugin.IMaestroExpansionPlugin, org.intocps.maestro.plugin.IMaestroPlugin

    public class Initializer
    extends java.lang.Object
    implements org.intocps.maestro.plugin.IMaestroExpansionPlugin
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Initializer.Config  
    • Field Summary

      • Fields inherited from interface org.intocps.maestro.plugin.IMaestroPlugin

        GLOBAL_EXECUTION_CONTINUE
    • Constructor Summary

      Constructors 
      Constructor Description
      Initializer()  
      Initializer​(TopologicalPlugin topologicalPlugin, org.intocps.maestro.plugin.verificationsuite.PrologVerifier.InitializationPrologQuery initializationPrologQuery)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.intocps.maestro.ast.PStm> expand​(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction, java.util.List<org.intocps.maestro.ast.PExp> formalArguments, org.intocps.maestro.plugin.IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment envIn, org.intocps.maestro.core.messages.IErrorReporter errorReporter)  
      java.util.Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()  
      java.lang.String getName()  
      java.lang.String getVersion()  
      org.intocps.maestro.plugin.IPluginConfiguration parseConfig​(java.io.InputStream is)  
      boolean requireConfig()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Initializer

        public Initializer()
      • Initializer

        public Initializer​(TopologicalPlugin topologicalPlugin,
                           org.intocps.maestro.plugin.verificationsuite.PrologVerifier.InitializationPrologQuery initializationPrologQuery)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.intocps.maestro.plugin.IMaestroPlugin
      • getVersion

        public java.lang.String getVersion()
        Specified by:
        getVersion in interface org.intocps.maestro.plugin.IMaestroPlugin
      • getDeclaredUnfoldFunctions

        public java.util.Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()
        Specified by:
        getDeclaredUnfoldFunctions in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
      • expand

        public java.util.List<org.intocps.maestro.ast.PStm> expand​(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction,
                                                                   java.util.List<org.intocps.maestro.ast.PExp> formalArguments,
                                                                   org.intocps.maestro.plugin.IPluginConfiguration config,
                                                                   org.intocps.maestro.framework.core.ISimulationEnvironment envIn,
                                                                   org.intocps.maestro.core.messages.IErrorReporter errorReporter)
                                                            throws org.intocps.maestro.plugin.ExpandException
        Specified by:
        expand in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
        Throws:
        org.intocps.maestro.plugin.ExpandException
      • requireConfig

        public boolean requireConfig()
        Specified by:
        requireConfig in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
      • parseConfig

        public org.intocps.maestro.plugin.IPluginConfiguration parseConfig​(java.io.InputStream is)
                                                                    throws java.io.IOException
        Specified by:
        parseConfig in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
        Throws:
        java.io.IOException