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