org.ow2.clif.server.api
Interface BladeControl

All Superinterfaces:
ActivityControl
All Known Implementing Classes:
AbstractDumbInsert, AbstractInsert, BladeInsertAdapterImpl, Insert, Insert, Insert, Insert, Insert, Insert, Insert, Insert_JRockit5, IsacExtendedEngine, MTScenario

public interface BladeControl
extends ActivityControl


Field Summary
static java.lang.String BLADE_CONTROL
           
static java.lang.String BLADE_INSERT_CONTROL
           
 
Method Summary
 void changeParameter(java.lang.String parameter, java.io.Serializable value)
          Sets the parameter parameter of this blade with the value value.
 java.util.Map getCurrentParameters()
          Returns a Map which maps the defined parameters to their values.
 java.lang.String getId()
           
 void setArgument(java.lang.String argument)
          Sets the scenario argument string.
 void setId(java.lang.String id)
          Sets a unique identifier string to this blade
 
Methods inherited from interface org.ow2.clif.server.api.ActivityControl
init, join, resume, start, stop, suspend
 

Field Detail

BLADE_CONTROL

static final java.lang.String BLADE_CONTROL
See Also:
Constant Field Values

BLADE_INSERT_CONTROL

static final java.lang.String BLADE_INSERT_CONTROL
See Also:
Constant Field Values
Method Detail

setArgument

void setArgument(java.lang.String argument)
                 throws ClifException
Sets the scenario argument string.

Throws:
ClifException

setId

void setId(java.lang.String id)
Sets a unique identifier string to this blade


getId

java.lang.String getId()
Returns:
the blade unique identifier

changeParameter

void changeParameter(java.lang.String parameter,
                     java.io.Serializable value)
                     throws ClifException
Sets the parameter parameter of this blade with the value value. This method allows to change parameters independently of the activity of the blade. However, some parameters can depend on the state of the blade.

Throws:
ClifException

getCurrentParameters

java.util.Map getCurrentParameters()
Returns a Map which maps the defined parameters to their values.