From 7520f27604e65fe6fe974cfa9253b4dc58b16bb4 Mon Sep 17 00:00:00 2001 From: Miciele Ghiorghis Date: Wed, 16 Jan 2013 18:06:39 +0100 Subject: [PATCH] Tim-connector: The scheduler info (non persistent bean) --- .../libreplan/importers/SchedulerInfo.java | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 libreplan-webapp/src/main/java/org/libreplan/importers/SchedulerInfo.java diff --git a/libreplan-webapp/src/main/java/org/libreplan/importers/SchedulerInfo.java b/libreplan-webapp/src/main/java/org/libreplan/importers/SchedulerInfo.java new file mode 100644 index 000000000..277d45fac --- /dev/null +++ b/libreplan-webapp/src/main/java/org/libreplan/importers/SchedulerInfo.java @@ -0,0 +1,59 @@ +/* + * This file is part of LibrePlan + * + * Copyright (C) 2013 St. Antoniusziekenhuis + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +package org.libreplan.importers; + +import org.libreplan.business.common.entities.JobSchedulerConfiguration; + +/** + * The schedulerInfo non persistent entity + * + * @author Miciele Ghiorghis + */ +public class SchedulerInfo { + + private JobSchedulerConfiguration jobSchedulerConfiguration; + private String nextFireTime; + + public SchedulerInfo() { + + } + + public SchedulerInfo(JobSchedulerConfiguration jobSchedulerConfiguration) { + this.jobSchedulerConfiguration = jobSchedulerConfiguration; + } + + public String getNextFireTime() { + return nextFireTime; + } + + public void setNextFireTime(String nextFireTime) { + this.nextFireTime = nextFireTime; + } + + public JobSchedulerConfiguration getJobSchedulerConfiguration() { + return jobSchedulerConfiguration; + } + + public void setJobSchedulerConfiguration( + JobSchedulerConfiguration jobSchedulerConfiguration) { + this.jobSchedulerConfiguration = jobSchedulerConfiguration; + } + +}