Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## es.upm.gib.aewrapper.queryprocessing.test
Class SimpleTest.Progress

    java.lang.Object
      es.upm.gib.aewrapper.queryprocessing.test.SimpleTest.Progress

All Implemented Interfaces:
  ProgressNotification

Enclosing class:
  SimpleTest

    public static class SimpleTest.Progress

extends java.lang.Object
implements ProgressNotification

A progress control implementation example

Constructor Summary
`SimpleTest.Progress()`

Method Summary
`void` | `completeTask()` This method is invoked when the current query is successfully solved
`void` | `error(ErrorType e)` This method is invoked whenever an error causes the current query to terminate abnormally
`void` | `percentageCompleted(java.lang.Integer percentage)` This method is invoked whenever some progress is added in the process of solving the current query

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleTest.Progress

    public SimpleTest.Progress()

Method Detail

### percentageCompleted

    public void percentageCompleted(java.lang.Integer percentage)

  Description copied from interface: `ProgressNotification`
  This method is invoked whenever some progress is added in the process of solving the current query

  Specified by:
    `percentageCompleted` in interface `ProgressNotification`
  Parameters:
    `percentage` - the percentage completed for the current query. A value between 0 and 100

### completeTask

    public void completeTask()

  Description copied from interface: `ProgressNotification`
  This method is invoked when the current query is successfully solved

  Specified by:
    `completeTask` in interface `ProgressNotification`

### error

    public void error(ErrorType e)

  Description copied from interface: `ProgressNotification`
  This method is invoked whenever an error causes the current query to terminate abnormally

  Specified by:
    `error` in interface `ProgressNotification`
  Parameters:
    `e` - the error that caused the query to terminate abnormally

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD