Public Member Functions | Static Public Attributes | Protected Member Functions

de.fraunhofer.isst.axbench.operations.configuration.Configurator Class Reference

A configurator object configures the architecture models in an aXLang-model according to a given feature configuration, an (optional) f2a-mapping and an (optional) f2r-mapping. This class contains only the interface to the configurator. The implementation is given in the class ConfiguratorImplementation. More...

List of all members.

Public Member Functions

void addHandlerListener (IHandlerListener handlerListener)
 Configurator ()
 constructor; only needed to define the AXLOperation interface
void dispose ()
Object execute (ExecutionEvent event) throws ExecutionException
 interface method for the access to the 'configure' method by a command; implements the input and output via dialogs.
Model executeConfiguration (Model theModel, Configuration theConfiguration, F2AMapping theF2AMapping, F2RMapping theF2RMapping, boolean isFinal)
 executes the configuration via the AXLOperation interface
boolean isEnabled ()
boolean isHandled ()
void removeHandlerListener (IHandlerListener handlerListener)

Static Public Attributes

static final String ID_IN_CONFIGURATION = "feature_configuration"
 identifier of the feature configuration that is to be used
static final String ID_IN_F2AMAPPING = "f2a-mapping"
 identifier of the f2a-mapping that is to be used
static final String ID_IN_F2RMAPPING = "f2r-mapping"
 identifier of the f2r-mapping that is to be used
static final String ID_IN_ISFINAL = "is_final"
 indicates whether the configuration is final or whether other configurations may follow
static final String ID_IN_MODEL_TO_CONFIGURE = "model_to_configure"
 identifier of the model that is to be configured
static final String ID_OUT_CONFIGURED_MODEL = "configured_model"
 identifier of the configured model

Protected Member Functions

Map< String, Object > executeConcreteOperation (Map< String, Object > theInputParameters)
 interface method for the access as an AXLOperation

Detailed Description

A configurator object configures the architecture models in an aXLang-model according to a given feature configuration, an (optional) f2a-mapping and an (optional) f2r-mapping. This class contains only the interface to the configurator. The implementation is given in the class ConfiguratorImplementation.

Author:
mgrosse
ekleinod
Version:
0.10.0
Since:
0.9.0

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.operations.configuration.Configurator.Configurator (  ) 

constructor; only needed to define the AXLOperation interface


Member Function Documentation

void de.fraunhofer.isst.axbench.operations.configuration.Configurator.addHandlerListener ( IHandlerListener  handlerListener  ) 
void de.fraunhofer.isst.axbench.operations.configuration.Configurator.dispose (  ) 
Object de.fraunhofer.isst.axbench.operations.configuration.Configurator.execute ( ExecutionEvent  event  )  throws ExecutionException

interface method for the access to the 'configure' method by a command; implements the input and output via dialogs.

Map<String, Object> de.fraunhofer.isst.axbench.operations.configuration.Configurator.executeConcreteOperation ( Map< String, Object >  theInputParameters  )  [protected]

interface method for the access as an AXLOperation

Model de.fraunhofer.isst.axbench.operations.configuration.Configurator.executeConfiguration ( Model  theModel,
Configuration  theConfiguration,
F2AMapping  theF2AMapping,
F2RMapping  theF2RMapping,
boolean  isFinal 
)

executes the configuration via the AXLOperation interface

Parameters:
theModel the model to be configured
theConfiguration the feature configuration that is used
theF2AMapping the f2a-mapping that is used
theF2RMapping the f2r-mapping that is used
isFinal indicates whether the configuration is the final one or whether further configurations may follow
Returns:
the configured model
boolean de.fraunhofer.isst.axbench.operations.configuration.Configurator.isEnabled (  ) 
boolean de.fraunhofer.isst.axbench.operations.configuration.Configurator.isHandled (  ) 
void de.fraunhofer.isst.axbench.operations.configuration.Configurator.removeHandlerListener ( IHandlerListener  handlerListener  ) 

Member Data Documentation

identifier of the feature configuration that is to be used

identifier of the f2a-mapping that is to be used

identifier of the f2r-mapping that is to be used

indicates whether the configuration is final or whether other configurations may follow

identifier of the model that is to be configured

identifier of the configured model