|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.event.ProgressEvent
Class summarizing informations about the current progress state.
Note that this class has no public constructor as it should
only be instantiated through a ProgressEventNotifier
.
ProgressEventNotifier
Nested Class Summary | |
static class |
ProgressEvent.Statistics
Partial statistics |
Field Summary | |
java.lang.String |
currentEntryName
The name of the entry being currently processed |
static sam.event.ProgressEvent |
DUMMY
Dummy entry for testing/debugging purpose |
ProgressEvent.Statistics |
entry
Statistics on current entry |
ProgressEvent.Statistics |
global
Global statistics |
int |
numberOfCurrentEntry
The number of the current entry |
int |
totalEntriesCount
The total number of entries |
Method Summary | |
java.lang.String |
currentEntryShortName(int length)
Gets a shorter name for the entry being currently processed |
boolean |
isNextEntry()
Wether this is the first event concerning the current entry, i.e. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final sam.event.ProgressEvent DUMMY
public final ProgressEvent.Statistics entry
public final ProgressEvent.Statistics global
public final java.lang.String currentEntryName
public final int numberOfCurrentEntry
public final int totalEntriesCount
Method Detail |
public java.lang.String currentEntryShortName(int length)
length
- the length of the desired shorter namepublic boolean isNextEntry()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |