APISonar


org.tomighty.config.Options.time

> org > tomighty > config > Options > time
org APIs tomighty APIs config APIs Options APIs time APIs

Example 1
@Inject private Options options;

	protected Time initialTime() {
		int minutes = options.time().shortBreak();
		return new Time(minutes);
	}
Example 2
@Inject private Options options;

	public void readConfiguration() {
		pomodoro.setValue(options.time().pomodoro());
		shortBreak.setValue(options.time().shortBreak());
		longBreak.setValue(options.time().longBreak());
	}