Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 52515cc39a0243fc463d9a33d6908fcc7e1739d3 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*******************************************************************************
 * Copyright (c) 2009, 2014 EclipseSource Corporation and others.
 * 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:
 *     EclipseSource Corporation - initial API and implementation
 *     IBM Corporation - continuing enhancements
 *******************************************************************************/
package org.eclipse.pde.internal.core.iproduct;

/**
 * Properties that are added to the config.ini.  Properties consist of a string name and
 * string value.
 *
 * @see IProduct
 *
 * @since 3.7
 */
public interface IConfigurationProperty extends IProductObject {
	public static final String P_NAME = "name"; //$NON-NLS-1$
	public static final String P_VALUE = "value"; //$NON-NLS-1$
	public static final String P_OS = "os"; //$NON-NLS-1$
	public static final String P_ARCH = "arch"; //$NON-NLS-1$

	/**
	 * @return The name of this property
	 */
	String getName();

	/**
	 * Sets the name of this property
	 *
	 * @param name new name for the property
	 */
	void setName(String name);

	/**
	 * @return The value of this property
	 */
	String getValue();

	/**
	 * Sets the value of this property
	 *
	 * @param value new value for the property
	 */
	void setValue(String value);

	/**
	 * @return The platform os for which for this property applies, or null if it
	 * applies to all platforms
	 */
	String getOs();

	/**
	 * Sets the os to which this property applies
	 *
	 * @param os the platform string describing the os to which this property
	 * applies, or null if it applies to all platforms
	 */

	void setOs(String os);

	/**
	 * @return The platform architecture for which this property applies, or null
	 * if it applies to all architectures
	 */

	String getArch();

	/**
	 * Sets the platform to which this property applies
	 *
	 * @param arch the platform string describing the arch to which this property
	 * applies, or null if it applies to all architectures
	 */
	void setArch(String arch);

}

Back to the top