public final class ProgressMonitors extends Object
Modifier and Type | Method and Description |
---|---|
static ProgressMonitor |
orDefault(ProgressMonitor monitor)
Return the provided monitor instance or a no-op default
|
public static ProgressMonitor orDefault(ProgressMonitor monitor)
monitor
- a monitor instance or null
NullProgressMonitor.INSTANCE
if monitor
was
null
. Never returns null
itself.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.