org.exolab.jmscts.core
Class DeliveryTypes

java.lang.Object
  |
  +--org.exolab.jmscts.core.DeliveryTypes

public class DeliveryTypes
extends java.lang.Object

Helper class used to indicate what delivery, destination type and message receipt modes should be used to run a particular test case against

Version:
$Revision: 1.5 $ $Date: 2004/01/31 13:44:24 $
Author:
Tim Anderson
See Also:
DeliveryType, SendReceiveTestCase, SendReceiveTestRunner

Field Summary
static DeliveryTypes ADMINISTERED
          All administered destination delivery types
static DeliveryTypes ADMINISTERED_CONSUMER
          All administered destination consumer delivery types (i.e no browsers)
static DeliveryTypes ALL
          All delivery types
static DeliveryTypes ALL_SEND
          All SEND delivery types
static DeliveryTypes ASYNCHRONOUS
          All asynchronous delivery types
static DeliveryTypes CONSUMER
          All consumer delivery types (i.e no browsers)
static DeliveryTypes NON_PERSISTENT
          All NON_PERSISTENT delivery types
static DeliveryType NON_PERSISTENT_ADMINISTERED_ASYNC
          NON_PERSISTENT delivery mode, administered destinations, asynchronous receipt
static DeliveryType NON_PERSISTENT_ADMINISTERED_BROWSER
          NON_PERSISTENT delivery mode, administered destinations, browser receipt
static DeliveryType NON_PERSISTENT_ADMINISTERED_SYNC
          NON_PERSISTENT delivery mode, administered destinations, synchronous receipt
static DeliveryTypes NON_PERSISTENT_CONSUMER
          All non-persistent consumer delivery types (i.e no browsers)
static DeliveryType NON_PERSISTENT_TEMPORARY_ASYNC
          NON_PERSISTENT delivery mode, temporary destinations, asynchronous receipt
static DeliveryType NON_PERSISTENT_TEMPORARY_BROWSER
          NON_PERSISTENT delivery mode, temporary destinations, browser receipt
static DeliveryType NON_PERSISTENT_TEMPORARY_SYNC
          NON_PERSISTENT delivery mode, temporary destinations, synchronous receipt
static DeliveryTypes PERSISTENT
          All PERSISTENT delivery types
static DeliveryType PERSISTENT_ADMINISTERED_ASYNC
          PERSISTENT delivery mode, administered destinations, asynchronous receipt
static DeliveryType PERSISTENT_ADMINISTERED_BROWSER
          PERSISTENT delivery mode, administered destinations, browser receipt
static DeliveryType PERSISTENT_ADMINISTERED_SYNC
          PERSISTENT delivery mode, administered destinations, synchronous receipt
static DeliveryTypes PERSISTENT_CONSUMER
          All persistent consumer delivery types (i.e no browsers)
static DeliveryType PERSISTENT_TEMPORARY_ASYNC
          PERSISTENT delivery mode, temporary destinations, asynchronous receipt
static DeliveryType PERSISTENT_TEMPORARY_BROWSER
          PERSISTENT delivery mode, temporary destinations, browser receipt
static DeliveryType PERSISTENT_TEMPORARY_SYNC
          PERSISTENT delivery mode, temporary destinations, synchronous receipt
static DeliveryType SEND_NON_PERSISTENT_ADMINISTERED
          NON_PERSISTENT delivery mode, administered destinations, no receipt
static DeliveryType SEND_NON_PERSISTENT_TEMPORARY
          NON_PERSISTENT delivery mode, temporary destinations, no receipt
static DeliveryType SEND_PERSISTENT_ADMINISTERED
          PERSISTENT delivery mode, administered destinations, no receipt
static DeliveryType SEND_PERSISTENT_TEMPORARY
          PERSISTENT delivery mode, temporary destinations, no receipt
static DeliveryTypes SYNCHRONOUS
          All synchronous delivery types
static DeliveryTypes TEMPORARY
          All temporary destination delivery types
static DeliveryTypes TEMPORARY_CONSUMER
          All temporary destination consumer delivery types (i.e no browsers)
 
Constructor Summary
DeliveryTypes(DeliveryType type)
          Construct a new instance to test against a single delivery type
DeliveryTypes(DeliveryType[] types)
          Construct a new instance to test against a set of delivery types
 
Method Summary
 int count()
          Return a count of the delivery types
static DeliveryTypes fromString(java.lang.String[] types)
          Helper to parse a DeliveryType from a string
 DeliveryType[] getTypes()
          Return the list of delivery types to test against
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEND_NON_PERSISTENT_ADMINISTERED

public static final DeliveryType SEND_NON_PERSISTENT_ADMINISTERED
NON_PERSISTENT delivery mode, administered destinations, no receipt

SEND_PERSISTENT_ADMINISTERED

public static final DeliveryType SEND_PERSISTENT_ADMINISTERED
PERSISTENT delivery mode, administered destinations, no receipt

SEND_NON_PERSISTENT_TEMPORARY

public static final DeliveryType SEND_NON_PERSISTENT_TEMPORARY
NON_PERSISTENT delivery mode, temporary destinations, no receipt

SEND_PERSISTENT_TEMPORARY

public static final DeliveryType SEND_PERSISTENT_TEMPORARY
PERSISTENT delivery mode, temporary destinations, no receipt

ALL_SEND

public static final DeliveryTypes ALL_SEND
All SEND delivery types

NON_PERSISTENT_ADMINISTERED_SYNC

public static final DeliveryType NON_PERSISTENT_ADMINISTERED_SYNC
NON_PERSISTENT delivery mode, administered destinations, synchronous receipt

NON_PERSISTENT_ADMINISTERED_ASYNC

public static final DeliveryType NON_PERSISTENT_ADMINISTERED_ASYNC
NON_PERSISTENT delivery mode, administered destinations, asynchronous receipt

NON_PERSISTENT_ADMINISTERED_BROWSER

public static final DeliveryType NON_PERSISTENT_ADMINISTERED_BROWSER
NON_PERSISTENT delivery mode, administered destinations, browser receipt

NON_PERSISTENT_TEMPORARY_SYNC

public static final DeliveryType NON_PERSISTENT_TEMPORARY_SYNC
NON_PERSISTENT delivery mode, temporary destinations, synchronous receipt

NON_PERSISTENT_TEMPORARY_ASYNC

public static final DeliveryType NON_PERSISTENT_TEMPORARY_ASYNC
NON_PERSISTENT delivery mode, temporary destinations, asynchronous receipt

NON_PERSISTENT_TEMPORARY_BROWSER

public static final DeliveryType NON_PERSISTENT_TEMPORARY_BROWSER
NON_PERSISTENT delivery mode, temporary destinations, browser receipt

PERSISTENT_ADMINISTERED_SYNC

public static final DeliveryType PERSISTENT_ADMINISTERED_SYNC
PERSISTENT delivery mode, administered destinations, synchronous receipt

PERSISTENT_ADMINISTERED_ASYNC

public static final DeliveryType PERSISTENT_ADMINISTERED_ASYNC
PERSISTENT delivery mode, administered destinations, asynchronous receipt

PERSISTENT_ADMINISTERED_BROWSER

public static final DeliveryType PERSISTENT_ADMINISTERED_BROWSER
PERSISTENT delivery mode, administered destinations, browser receipt

PERSISTENT_TEMPORARY_SYNC

public static final DeliveryType PERSISTENT_TEMPORARY_SYNC
PERSISTENT delivery mode, temporary destinations, synchronous receipt

PERSISTENT_TEMPORARY_ASYNC

public static final DeliveryType PERSISTENT_TEMPORARY_ASYNC
PERSISTENT delivery mode, temporary destinations, asynchronous receipt

PERSISTENT_TEMPORARY_BROWSER

public static final DeliveryType PERSISTENT_TEMPORARY_BROWSER
PERSISTENT delivery mode, temporary destinations, browser receipt

NON_PERSISTENT

public static final DeliveryTypes NON_PERSISTENT
All NON_PERSISTENT delivery types

PERSISTENT

public static final DeliveryTypes PERSISTENT
All PERSISTENT delivery types

SYNCHRONOUS

public static final DeliveryTypes SYNCHRONOUS
All synchronous delivery types

ASYNCHRONOUS

public static final DeliveryTypes ASYNCHRONOUS
All asynchronous delivery types

TEMPORARY

public static final DeliveryTypes TEMPORARY
All temporary destination delivery types

ADMINISTERED

public static final DeliveryTypes ADMINISTERED
All administered destination delivery types

NON_PERSISTENT_CONSUMER

public static final DeliveryTypes NON_PERSISTENT_CONSUMER
All non-persistent consumer delivery types (i.e no browsers)

PERSISTENT_CONSUMER

public static final DeliveryTypes PERSISTENT_CONSUMER
All persistent consumer delivery types (i.e no browsers)

ADMINISTERED_CONSUMER

public static final DeliveryTypes ADMINISTERED_CONSUMER
All administered destination consumer delivery types (i.e no browsers)

TEMPORARY_CONSUMER

public static final DeliveryTypes TEMPORARY_CONSUMER
All temporary destination consumer delivery types (i.e no browsers)

CONSUMER

public static final DeliveryTypes CONSUMER
All consumer delivery types (i.e no browsers)

ALL

public static final DeliveryTypes ALL
All delivery types
Constructor Detail

DeliveryTypes

public DeliveryTypes(DeliveryType type)
Construct a new instance to test against a single delivery type
Parameters:
type - the delivery type

DeliveryTypes

public DeliveryTypes(DeliveryType[] types)
Construct a new instance to test against a set of delivery types
Parameters:
types - a list of delivery types
Method Detail

getTypes

public DeliveryType[] getTypes()
Return the list of delivery types to test against
Returns:
the list of delivery types to test against

count

public int count()
Return a count of the delivery types
Returns:
the number of delivery types

fromString

public static DeliveryTypes fromString(java.lang.String[] types)
Helper to parse a DeliveryType from a string
Parameters:
types - the strings to parse
Returns:
the parsed delivery types


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.