Visit Platform at http://www.platform.com

Platform Symphony 4.1 Java API Reference

com.platform.symphony.symexec
Interface ExecutionEnumItems


public interface ExecutionEnumItems

An interface to a collection of ExecutionStatus objects.

See Also:
ExecutionSession.fetchTaskStatus(), ExecutionStatus

Method Summary
 long getCount()
          Retrieves the number of items in the collection.
 ExecutionStatus getNext()
          Returns the next item in the collection, or null if there are no more items.
 void reset()
          Resets the enumeration position to the beginning of the series.
 void skip(long skipCount)
          Skips over the next skipCount items in the collection.
 

Method Detail

getNext

ExecutionStatus getNext()
                        throws SoamException
Returns the next item in the collection, or null if there are no more items.

Returns:
The next ExecutionStatus in the collection, or null if there are no more items.
Throws:
SoamException

reset

void reset()
           throws SoamException
Resets the enumeration position to the beginning of the series. A subsequent call to getNext will result in the first item being returned.

Throws:
SoamException

skip

void skip(long skipCount)
          throws SoamException
Skips over the next skipCount items in the collection. If the skipCount is greater than the number of items left to enumerate, the enumerator position will be set to the end of the series.

Parameters:
skipCount - The number of items to skip over in the collection. It must greater than or equal to 0.
Throws:
SoamException

getCount

long getCount()
              throws SoamException
Retrieves the number of items in the collection.

Returns:
The number of items in the collection.
Throws:
SoamException

Version 4.1
Date Modified: -DREL_DATE=Nov 03 2008
Platform Computing. Accelerating Intelligence(TM).
Copyright (C) 2001-2008 Platform Computing Corporation. All rights reserved.