public abstract class PeriodicProjectSpaceTask extends TimerTask
ProjectSpace with a task
that gets executed periodically.| Constructor and Description |
|---|
PeriodicProjectSpaceTask(ProjectSpace projectSpace,
long interval)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getInterval()
Returns the interval in which the task is executed.
|
ProjectSpace |
getProjectSpace()
Returns the decorated
ProjectSpace. |
void |
start()
Starts the task.
|
void |
stop()
Stops the task.
|
cancel, run, scheduledExecutionTimepublic PeriodicProjectSpaceTask(ProjectSpace projectSpace, long interval)
projectSpace - the ProjectSpace that should get decoratedinterval - the periodic interval in which the task gets executedpublic void start()
public void stop()
public ProjectSpace getProjectSpace()
ProjectSpace.public long getInterval()
Copyright © 2017. All rights reserved.