getStatus()

Retrieves the status from the event object.

Syntax

public int getStatus();

Parameters

None.

Return values

An integer value that represents the event status. Compare this integer value with the following event-status constants to determine the status:

    CWConnectorEventStatus.IN_PROGRESS
    CWConnectorEventStatus.READY_FOR_POLL
    CWConnectorEventStatus.SUCCESS
    CWConnectorEventStatus.UNSUBSCRIBED
    CWConnectorEventStatus.ERROR_OBJECT_NOT_FOUND
    CWConnectorEventStatus.ERROR_POSTING_EVENT
    CWConnectorEventStatus.ERROR_PROCESSING_EVENT

Exceptions

None.

Notes

The Java connector library provides the getStatus() method as a public method in the CWConnectorEvent class. However, it does not provide a public method for setting this status. To set the event status, use one of the following Java connector library methods from the CWConnectorEventStore class:

Copyright IBM Corporation 1997, 2004. All Rights Reserved.