public interface ScheduleEntryControl
ScheduleEntry.execute()
Modifier and Type | Method and Description |
---|---|
void |
awaitTermination()
Blocks until the schedule entry has terminated.
|
Date |
getFinishTime()
Returns the time this schedule entry has been finished or
null when the entry has not finished. |
long |
getId()
Returns the execution id.
|
ScheduleEntry |
getScheduleEntry()
Returns the schedule entry.
|
Date |
getStartTime()
Returns the time this schedule entry has been started.
|
ScheduleEntryState |
getState()
Returns the schedule entry state of this entry control.
|
User |
getUser()
Returns the
user who initialized execution of the belonging schedule entry,
or null if user is unknown (scheduled start for example). |
boolean |
isRunning()
Returns
false , if this schedule entry is finished or not started yet, true otherwise. |
void |
refresh()
Requests the actual version from the server.
|
void |
stopExecution()
Stops the execution of this schedule entry.
|
long getId()
@Nullable User getUser()
user
who initialized execution of the belonging schedule entry,
or null
if user is unknown (scheduled start for example).Date getStartTime()
@Nullable Date getFinishTime()
null
when the entry has not finished.null
when the entry has not finished.ScheduleEntry getScheduleEntry()
boolean isRunning()
false
, if this schedule entry is finished or not started yet, true
otherwise.false
, if this schedule entry is finished or not started yet, true
otherwise.awaitTermination()
void stopExecution()
isRunning()
void awaitTermination()
isRunning()
ScheduleEntryState getState()
void refresh()
isRunning()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210