Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8caec8825b4e0d01ed18ed1608544b47604c9220 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*******************************************************************************
 *  Copyright (c) 2007, 2010 IBM Corporation and others.
 *
 *  This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License 2.0
 *  which accompanies this distribution, and is available at
 *  https://www.eclipse.org/legal/epl-2.0/
 *
 *  SPDX-License-Identifier: EPL-2.0
 * 
 *  Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.equinox.internal.p2.engine;

import org.eclipse.equinox.internal.p2.persistence.XMLConstants;
import org.eclipse.equinox.p2.metadata.Version;
import org.eclipse.equinox.p2.metadata.VersionRange;

/**
 *	Constants defining the structure of the XML for a Profile
 */
public interface ProfileXMLConstants extends XMLConstants {

	// A format version number for profile XML.
	public static final Version CURRENT_VERSION = Version.createOSGi(1, 0, 0);
	public static final Version COMPATIBLE_VERSION = Version.createOSGi(0, 0, 1);
	public static final VersionRange XML_TOLERANCE = new VersionRange(COMPATIBLE_VERSION, true, Version.createOSGi(2, 0, 0), false);

	// Constants for profile elements

	public static final String PROFILE_ELEMENT = "profile"; //$NON-NLS-1$
	public static final String TIMESTAMP_ATTRIBUTE = "timestamp"; //$NON-NLS-1$
	public static final String IUS_PROPERTIES_ELEMENT = "iusProperties"; //$NON-NLS-1$
	public static final String IU_PROPERTIES_ELEMENT = "iuProperties"; //$NON-NLS-1$
	public static final String PROFILE_TARGET = "profile"; //$NON-NLS-1$
}

Back to the top