public class DailyUpdateTask
extends ch.sahits.game.openpatrician.model.event.TimedTask
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private ch.sahits.game.openpatrician.model.Date |
date |
private ServerSideTaskFactory |
taskFactory |
private ch.sahits.game.openpatrician.model.event.TimedUpdatableTaskList |
taskList |
| Constructor and Description |
|---|
DailyUpdateTask() |
| Modifier and Type | Method and Description |
|---|---|
private java.time.LocalDateTime |
getScheduledDateDailyUpdate() |
private void |
initialize() |
void |
run() |
private void |
scheduleNextDayUpdate() |
@Autowired private ch.sahits.game.openpatrician.model.Date date
@Autowired private ch.sahits.game.openpatrician.model.event.TimedUpdatableTaskList taskList
@Autowired private ServerSideTaskFactory taskFactory
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
@PostConstruct private void initialize()
private java.time.LocalDateTime getScheduledDateDailyUpdate()
private void scheduleNextDayUpdate()
public void run()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.