public class DefaultNutsProgressEvent extends Object implements NutsProgressEvent
| Constructor and Description |
|---|
DefaultNutsProgressEvent(Object source,
NutsString message,
long globalCount,
long globalMillis,
long partialCount,
long partialMillis,
long length,
Throwable exception,
NutsSession session,
boolean indeterminate) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentValue() |
Throwable |
getError() |
long |
getMaxValue() |
NutsString |
getMessage() |
long |
getPartialMillis() |
long |
getPartialValue() |
float |
getPercent() |
NutsSession |
getSession() |
Object |
getSource() |
long |
getTimeMillis() |
NutsWorkspace |
getWorkspace() |
boolean |
isIndeterminate() |
public DefaultNutsProgressEvent(Object source, NutsString message, long globalCount, long globalMillis, long partialCount, long partialMillis, long length, Throwable exception, NutsSession session, boolean indeterminate)
public NutsSession getSession()
getSession in interface NutsProgressEventpublic NutsWorkspace getWorkspace()
getWorkspace in interface NutsProgressEventpublic Throwable getError()
getError in interface NutsProgressEventpublic long getMaxValue()
getMaxValue in interface NutsProgressEventpublic Object getSource()
getSource in interface NutsProgressEventpublic NutsString getMessage()
getMessage in interface NutsProgressEventpublic long getCurrentValue()
getCurrentValue in interface NutsProgressEventpublic long getTimeMillis()
getTimeMillis in interface NutsProgressEventpublic long getPartialValue()
getPartialValue in interface NutsProgressEventpublic long getPartialMillis()
getPartialMillis in interface NutsProgressEventpublic float getPercent()
getPercent in interface NutsProgressEventpublic boolean isIndeterminate()
isIndeterminate in interface NutsProgressEventCopyright © 2021 vpc open source initiative. All rights reserved.