001/* 002 * (C) Copyright 2006-2010 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.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 * Bogdan Stefanescu 016 * Thierry Delprat 017 */ 018package org.nuxeo.apidoc.api; 019 020import java.util.List; 021 022import org.nuxeo.apidoc.documentation.ContributionItem; 023import org.nuxeo.runtime.model.ComponentName; 024 025public interface ExtensionInfo extends NuxeoArtifact { 026 027 String TYPE_NAME = "NXContribution"; 028 029 String PROP_CONTRIB_ID = "nxcontribution:contribId"; 030 031 String PROP_DOC = "nxcontribution:documentation"; 032 033 String PROP_EXTENSION_POINT = "nxcontribution:extensionPoint"; 034 035 String PROP_TARGET_COMPONENT_NAME = "nxcontribution:targetComponentName"; 036 037 String getExtensionPoint(); 038 039 String getDocumentation(); 040 041 String getDocumentationHtml(); 042 043 ComponentName getTargetComponentName(); 044 045 String getXml(); 046 047 List<ContributionItem> getContributionItems(); 048 049 ComponentInfo getComponent(); 050 051}