TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.models.common.facades.behavioral
Interface IAction

All Superinterfaces:
INamedElement
All Known Subinterfaces:
BVRCombinedFragment, BVREventOccurrence, BVRExecutionOccurrence, BVRGate, BVRInteractionFragment, BVRInteractionOccurrence, BVRInteractionOperand, BVRMessageEnd, BVRPartDecomposition, BVRStateInvariant, BVRStop, IDecision, ILoop, ITargetInvocation, ITestComponentInvocation, ITestInvocation, IVerificationPoint, TPFLogAction, TPFValidationAction
All Known Implementing Classes:
BVRCombinedFragmentImpl, BVREventOccurrenceImpl, BVRExecutionOccurrenceImpl, BVRGateImpl, BVRInteractionFragmentImpl, BVRInteractionOccurrenceImpl, BVRInteractionOperandImpl, BVRMessageEndImpl, BVRPartDecompositionImpl, BVRStateInvariantImpl, BVRStopImpl, TPFLogActionImpl, TPFValidationActionImpl

public interface IAction
extends INamedElement

An IAction is the most fine grained specification of the behavior of a test. IAction is extended by ITargetInvocation, IDecision, ILoop, ITestInvocation, and IVerificationPoint. These interfaces define the building blocks with which you can construct a behavioral specification of your test.

In the mapping of the behavioral facade to the Test Model, an action is an interaction fragment

Since:
0.0.1

Method Summary
 java.util.List getActionAnnotations()
          Returns the annotations of an action.
 IPropertyGroup getActionProperties()
          Returns the properties of an action.
 boolean isSynchronous()
          Returns the synchonization state of the action.
 void setSynchronous(boolean synchronous)
          Sets the synchonization state of the action.
 
Methods inherited from interface org.eclipse.hyades.models.common.facades.behavioral.INamedElement
getDescription, getId, getName, setDescription, setId, setName
 

Method Detail

isSynchronous

public boolean isSynchronous()
Returns the synchonization state of the action. A true indicates that the action is to be invoked in parallel. A false return indicates that the action is to be invoked in series.

If the action implementation doesn't support this concept this method must return true.

Returns:
boolean

setSynchronous

public void setSynchronous(boolean synchronous)
                    throws java.lang.UnsupportedOperationException
Sets the synchonization state of the action. Setting the state to true means that the action is to be invoked in parallel. A false setting means that the action is to be invoked in series.

If the action implementation doesn't support this concept this method should throw UnsupportedOperationException.

Parameters:
synchronous -
Throws:
java.lang.UnsupportedOperationException

getActionProperties

public IPropertyGroup getActionProperties()
Returns the properties of an action. Properties are pairs of name and value.

Returns:
IPropertyGroup

getActionAnnotations

public java.util.List getActionAnnotations()
Returns the annotations of an action.

Returns:
List
See Also:
IAnnotation

TPTP 4.1.0 Platform Project
Public API Specification