org.eclipse.january

## Class IMonitor.Stub

- java.lang.Object
- - org.eclipse.january.IMonitor.Stub

- All Implemented Interfaces:
    IMonitor
  Enclosing interface:
    IMonitor

      public static class IMonitor.Stub
      extends Object
      implements IMonitor

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.january.IMonitor

      `IMonitor.Stub`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Stub()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isCancelled()`
    `void` | `subTask(String taskName)` Starts a subtask.
    `void` | `worked(int amount)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Stub

          public Stub()

  - ### Method Detail

    - #### worked

          public void worked(int amount)

      Specified by:
        `worked` in interface `IMonitor`
      Parameters:
        `amount` - of work donw

    - #### isCancelled

          public boolean isCancelled()

      Specified by:
        `isCancelled` in interface `IMonitor`
      Returns:
        true if user cancelled loading.

    - #### subTask

          public void subTask(String taskName)

      Description copied from interface: `IMonitor`
      Starts a subtask.
      Specified by:
        `subTask` in interface `IMonitor`
      Parameters:
        `taskName` - to use

Copyright © 2014–2022 Eclipse Foundation. All rights reserved.