Class Initializer
- java.lang.Object
-
- org.intocps.maestro.plugin.Initializer.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 classInitializer.Config
-
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.StringgetName()java.lang.StringgetVersion()org.intocps.maestro.plugin.IPluginConfigurationparseConfig(java.io.InputStream is)booleanrequireConfig()
-
-
-
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:
getNamein interfaceorg.intocps.maestro.plugin.IMaestroPlugin
-
getVersion
public java.lang.String getVersion()
- Specified by:
getVersionin interfaceorg.intocps.maestro.plugin.IMaestroPlugin
-
getDeclaredUnfoldFunctions
public java.util.Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()
- Specified by:
getDeclaredUnfoldFunctionsin interfaceorg.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:
expandin interfaceorg.intocps.maestro.plugin.IMaestroExpansionPlugin- Throws:
org.intocps.maestro.plugin.ExpandException
-
requireConfig
public boolean requireConfig()
- Specified by:
requireConfigin interfaceorg.intocps.maestro.plugin.IMaestroExpansionPlugin
-
parseConfig
public org.intocps.maestro.plugin.IPluginConfiguration parseConfig(java.io.InputStream is) throws java.io.IOException- Specified by:
parseConfigin interfaceorg.intocps.maestro.plugin.IMaestroExpansionPlugin- Throws:
java.io.IOException
-
-