1. Project Clover database Sat Feb 2 2019 06:45:20 CET
  2. Package org.xwiki.xar.internal.model

File XarModel.java

 

Code metrics

0
0
0
1
91
26
0
-
-
0
-

Classes

Class Line # Actions
XarModel 26 0 - 0 0
-1.0 -
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package org.xwiki.xar.internal.model;
21   
22    /**
23    * @version $Id: 042bef76fc37e25d76d285b01a4aa888a6008403 $
24    * @since 5.4M1
25    */
 
26    public class XarModel
27    {
28    public static final String PATH_PACKAGE = "package.xml";
29   
30    public static final String ELEMENT_PACKAGE = "package";
31   
32    public static final String ELEMENT_INFOS = "infos";
33   
34    public static final String ELEMENT_INFOS_NAME = "name";
35   
36    public static final String ELEMENT_INFOS_DESCRIPTION = "description";
37   
38    public static final String ELEMENT_INFOS_LICENSE = "licence";
39   
40    public static final String ELEMENT_INFOS_AUTHOR = "author";
41   
42    public static final String ELEMENT_INFOS_VERSION = "version";
43   
44    public static final String ELEMENT_INFOS_ISBACKUPPACK = "backupPack";
45   
46    public static final String ELEMENT_INFOS_ISPRESERVEVERSION = "preserveVersion";
47   
48    public static final String ELEMENT_INFOS_EXTENSIONID = "extensionId";
49   
50    public static final String ELEMENT_FILES = "files";
51   
52    public static final String ELEMENT_FILES_FILE = "file";
53   
54    @Deprecated
55    public static final String ELEMENT_FILES_FILES = ELEMENT_FILES_FILE;
56   
57    public static final String ATTRIBUTE_DEFAULTACTION = "defaultAction";
58   
59    public static final String ATTRIBUTE_LOCALE = "language";
60   
61    /**
62    * @since 10.3
63    */
64    public static final String ATTRIBUTE_TYPE = "type";
65   
66    // action
67   
68    /**
69    * @deprecated kept for retro compatibility reason (since this used to exist in XAR format) but this method never
70    * really been used in XWiki Standard.
71    */
72    public static final int ACTION_NOT_DEFINED = -1;
73   
74    /**
75    * @deprecated kept for retro compatibility reason (since this used to exist in XAR format) but this method never
76    * really been used in XWiki Standard.
77    */
78    public static final int ACTION_OVERWRITE = 0;
79   
80    /**
81    * @deprecated kept for retro compatibility reason (since this used to exist in XAR format) but this method never
82    * really been used in XWiki Standard.
83    */
84    public static final int ACTION_SKIP = 1;
85   
86    /**
87    * @deprecated kept for retro compatibility reason (since this used to exist in XAR format) but this method never
88    * really been used in XWiki Standard.
89    */
90    public static final int ACTION_MERGE = 2;
91    }