/** * File ./src/main/java/de/lemo/dms/service/servicecontainer/SCConnectorManagerState.java * Lemo-Data-Management-Server for learning analytics. * Copyright (C) 2015 * Leonard Kappe, Andreas Pursian, Sebastian Schwarzrock, Boris Wenzlaff * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. **/ package de.lemo.dms.service.servicecontainer; import javax.xml.bind.annotation.XmlRootElement; import de.lemo.dms.connectors.EConnectorManagerState; @XmlRootElement public class SCConnectorManagerState { private EConnectorManagerState state; private SCConnector updatingConnector; public SCConnectorManagerState(EConnectorManagerState state, SCConnector updatingConnector) { this.state = state; this.updatingConnector = updatingConnector; } /** * @return the connectorState */ public EConnectorManagerState getState() { return state; } /** * @param state * the state to set */ public void setState(EConnectorManagerState state) { this.state = state; } /** * @return the updatingConnector */ public SCConnector getUpdatingConnector() { return updatingConnector; } /** * @param updatingConnector * the updatingConnector to set */ public void setUpdatingConnector(SCConnector updatingConnector) { this.updatingConnector = updatingConnector; } }