Package com.complexible.common.base

# Class Progress.Default

java.lang.Object
com.complexible.common.base.Progress.Default

All Implemented Interfaces:
  `Progress`

Enclosing interface:
  `Progress`

public static class Progress.Default extends Object implements Progress
Immutable default implementation of a progress

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.complexible.common.base.Progress

  `Progress.Default`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Default(long mp, long c)`
  `Default(long mp, long c, String stage)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `current()`
  Returns the current progress value
  `long`
  `maxProgress()`
  Returns the maximum progress value for this monitor
  `String`
  `stage()`
  Returns the current stage of the process, or null if none.

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

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

  ### Methods inherited from interface com.complexible.common.base.Progress

  `hasProgress`

- ## Constructor Details

  - ### Default

    public Default(long mp, long c)

  - ### Default

    public Default(long mp, long c, String stage)

- ## Method Details

  - ### maxProgress

    public long maxProgress()
    Description copied from interface: `Progress`
    Returns the maximum progress value for this monitor
    Specified by:
      `maxProgress` in interface `Progress`

  - ### current

    public long current()
    Description copied from interface: `Progress`
    Returns the current progress value
    Specified by:
      `current` in interface `Progress`

  - ### stage

    public String stage()
    Description copied from interface: `Progress`
    Returns the current stage of the process, or null if none.
    Specified by:
      `stage` in interface `Progress`