org.apache.ode.test
Class BPELTestAbstract.Invocation

java.lang.Object
  extended by org.apache.ode.test.BPELTestAbstract.Invocation
Enclosing class:
BPELTestAbstract

public static class BPELTestAbstract.Invocation
extends java.lang.Object

Represents an test invocation of the BPEL engine.


Field Summary
 MyRoleMessageExchange.CorrelationStatus expectedCorrelationStatus
          If non-null, expect this correlation status right after invoke.
 MyRoleMessageExchange.CorrelationStatus expectedFinalCorrelationStatus
          If non-null, expect this correlation after response received.
 MessageExchange.Status expectedFinalStatus
          If non-null, expect this status after response received.
 java.lang.Class expectedInvokeException
          If non-null, expect an exception of this class (or subclass) on invoke.
 java.util.regex.Pattern expectedResponsePattern
          Expected RegExp pattern for the response, or null
 MessageExchange.Status expectedStatus
          If non-null, expecte this status right after invoke.
 java.lang.String id
          Identifier (for reporting).
 long invokeDelayMs
          Number of ms to wait (relative to other invokes) before invoking.
 long maximumWaitMs
          Maximum number of ms to wait for a response.
 java.lang.Long minimumWaitMs
          If non-null, minimum number of ms before a response should be available.
 java.lang.String operation
          Name of the operation to invoke.
 org.w3c.dom.Element request
          The request message that should be sent to the server
 javax.xml.namespace.QName target
          Name of service to invoke.
 
Constructor Summary
BPELTestAbstract.Invocation(java.lang.String id)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public java.lang.String id
Identifier (for reporting).


operation

public java.lang.String operation
Name of the operation to invoke.


target

public javax.xml.namespace.QName target
Name of service to invoke.


expectedResponsePattern

public java.util.regex.Pattern expectedResponsePattern
Expected RegExp pattern for the response, or null


request

public org.w3c.dom.Element request
The request message that should be sent to the server


invokeDelayMs

public long invokeDelayMs
Number of ms to wait (relative to other invokes) before invoking.


expectedInvokeException

public java.lang.Class expectedInvokeException
If non-null, expect an exception of this class (or subclass) on invoke.


expectedStatus

public MessageExchange.Status expectedStatus
If non-null, expecte this status right after invoke.


expectedFinalStatus

public MessageExchange.Status expectedFinalStatus
If non-null, expect this status after response received.


expectedCorrelationStatus

public MyRoleMessageExchange.CorrelationStatus expectedCorrelationStatus
If non-null, expect this correlation status right after invoke.


expectedFinalCorrelationStatus

public MyRoleMessageExchange.CorrelationStatus expectedFinalCorrelationStatus
If non-null, expect this correlation after response received.


maximumWaitMs

public long maximumWaitMs
Maximum number of ms to wait for a response.


minimumWaitMs

public java.lang.Long minimumWaitMs
If non-null, minimum number of ms before a response should be available.

Constructor Detail

BPELTestAbstract.Invocation

public BPELTestAbstract.Invocation(java.lang.String id)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object