| /** |
| * Copyright (c) 2019 CEA. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * CEA - initial API and implementation and/or initial documentation |
| */ |
| package org.eclipse.sensinact.studio.http.services.server.serverstarted; |
| |
| /** |
| * @author Etienne Gandrille |
| */ |
| public abstract class UpdateDescriptor { |
| |
| private final UpdateType type; |
| |
| protected UpdateDescriptor(UpdateType type) { |
| this.type = type; |
| } |
| |
| public UpdateType getType() { |
| return type; |
| } |
| |
| public enum UpdateType { |
| PORT_UPDATE, RESOURCE_ADDED; |
| } |
| } |