| Package | Description |
|---|---|
| org.iota.jota.utils.log | |
| org.iota.jota.utils.log.interval |
| Modifier and Type | Method and Description |
|---|---|
ProgressLogger |
ProgressLogger.abort()
Marks the task as failed and triggers the output of a status message informing us about the failure.
|
ProgressLogger |
ProgressLogger.abort(Throwable reason)
Marks the task as failed and triggers the output of a status message informing us about the failure.
|
ProgressLogger |
ProgressLogger.finish()
Sets the current step to the expected step count and triggers the output of the current progress.
|
ProgressLogger |
ProgressLogger.progress()
Increases the current step by one and triggers the output of the current progress.
|
ProgressLogger |
ProgressLogger.progress(int currentStep)
Sets the current step to the given value and triggers the output of the current progress.
|
ProgressLogger |
ProgressLogger.setCurrentStep(int currentStep)
Sets the current step to the given value without triggering an output.
|
ProgressLogger |
ProgressLogger.setEnabled(boolean enabled)
This method is the setter for the enabled flag of the logger.
|
ProgressLogger |
ProgressLogger.setStepCount(int stepCount)
Sets the expected step count to the given value without triggering an output.
|
ProgressLogger |
ProgressLogger.start()
Starts the logging by (re)setting the current step to 0 and trigger the output of the current progress.
|
ProgressLogger |
ProgressLogger.start(int stepCount)
Does the same as
start() but sets the expected step count to the given value. |
| Modifier and Type | Class and Description |
|---|---|
class |
IntervalProgressLogger
Implements the basic contract of the
ProgressLogger while showing the progress as messages in the console. |
Copyright © 2019. All rights reserved.