001/* 002 * (C) Copyright 2012-2015 Nuxeo SA (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl-2.1.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * mguillaume 016 */ 017 018package org.nuxeo.launcher.info; 019 020import java.util.ArrayList; 021import java.util.List; 022 023import javax.xml.bind.annotation.XmlAccessType; 024import javax.xml.bind.annotation.XmlAccessorType; 025import javax.xml.bind.annotation.XmlElement; 026import javax.xml.bind.annotation.XmlElementWrapper; 027import javax.xml.bind.annotation.XmlRootElement; 028 029@XmlAccessorType(XmlAccessType.NONE) 030@XmlRootElement(name = "instance") 031public class InstanceInfo { 032 033 public InstanceInfo() { 034 } 035 036 @XmlElement(name = "NUXEO_CONF") 037 public String NUXEO_CONF; 038 039 @XmlElement(name = "NUXEO_HOME") 040 public String NUXEO_HOME; 041 042 @XmlElement(name = "clid") 043 public String clid; 044 045 @XmlElement(name = "distribution") 046 public DistributionInfo distribution; 047 048 @XmlElementWrapper(name = "packages") 049 @XmlElement(name = "package") 050 public List<PackageInfo> packages = new ArrayList<>(); 051 052 @XmlElement(name = "configuration") 053 public ConfigurationInfo config; 054 055}