io.sarl.lang.pythongenerator.configuration
Class PyGeneratorConfigurationProvider
All Superinterfaces:
IPyGeneratorConfigurationProvider
class PyGeneratorConfigurationProvider
extends java.lang.Object
implements IPyGeneratorConfigurationProvider
Provider of a configuration for the SARL-to-Python generator.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
pythongenerator
Since:
0.8
Nested Type Summary
Modifier and type Type and description
class PyGeneratorConfigurationProvider.PyGeneratorConfigAdapter
Adapter for providing the SARL generator configuration.
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
protected PyGeneratorConfiguration createConfiguration(Resource)
Create an instance of configuration.
PyGeneratorConfiguration get(Resource,boolean)
PyGeneratorConfiguration install(ResourceSet,PyGeneratorConfiguration)
Install the given configuration into the context.
Constructor Details
new
new
Action Details
createConfiguration(Resource)
protected def createConfiguration(Resource) : PyGeneratorConfiguration
Create an instance of configuration.
Parameters:
context - the context of the creation.
Returns:
the new instance.
get(Resource,boolean)
def get(Resource,boolean) : PyGeneratorConfiguration
install(ResourceSet,PyGeneratorConfiguration)
def install(ResourceSet,PyGeneratorConfiguration) : PyGeneratorConfiguration
Install the given configuration into the context.
Parameters:
resourceSet - the target of the installation.
config - the configuration to install.
Returns:
the old configuration if one was previously installed.