TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.automation.core.utils
Class ProgressiveTask.Synchronicity

java.lang.Object
  extended byorg.eclipse.hyades.automation.core.utils.ProgressiveTask.Synchronicity
Enclosing class:
ProgressiveTask

public static final class ProgressiveTask.Synchronicity
extends java.lang.Object

A type-safe enumeration used to specify the synchronicity of the task when executed. For the execute method to block use SYNCHRONOUS, for the execute method to not block use ASYNCHRONOUS.


Field Summary
static ProgressiveTask.Synchronicity ASYNCHRONOUS
          The task will be executed without blocking at the execute method
static ProgressiveTask.Synchronicity SYNCHRONOUS
          The calling thread will be blocked when invoking the execute method
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ASYNCHRONOUS

public static final ProgressiveTask.Synchronicity ASYNCHRONOUS
The task will be executed without blocking at the execute method


SYNCHRONOUS

public static final ProgressiveTask.Synchronicity SYNCHRONOUS
The calling thread will be blocked when invoking the execute method

Method Detail

equals

public boolean equals(java.lang.Object object)

hashCode

public int hashCode()

toString

public java.lang.String toString()

TPTP 4.4.0 Platform Project
Public API Specification