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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
|
/*******************************************************************************
* Copyright (c) 2003, 2009 IBM 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.osgi.service.environment;
/**
* Constants used with the {@link EnvironmentInfo} service.
* @since 3.0
* <p>
* This interface is not intended to be implemented by clients.
* </p>
* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.
*/
public interface Constants {
//TODO These constants need to be aligned with the OSGi ones. See page 64-588 of the spec
/**
* Constant string (value "win32") indicating the platform is running on a
* Window 32-bit operating system (e.g., Windows 98, NT, 2000).
*/
public static final String OS_WIN32 = "win32";//$NON-NLS-1$
/**
* Constant string (value "linux") indicating the platform is running on a
* Linux-based operating system.
*/
public static final String OS_LINUX = "linux";//$NON-NLS-1$
/**
* Constant string (value "aix") indicating the platform is running on an
* AIX-based operating system.
*/
public static final String OS_AIX = "aix";//$NON-NLS-1$
/**
* Constant string (value "solaris") indicating the platform is running on a
* Solaris-based operating system.
*/
public static final String OS_SOLARIS = "solaris";//$NON-NLS-1$
/**
* Constant string (value "hpux") indicating the platform is running on an
* HP/UX-based operating system.
*/
public static final String OS_HPUX = "hpux";//$NON-NLS-1$
/**
* Constant string (value "qnx") indicating the platform is running on a
* QNX-based operating system.
*/
public static final String OS_QNX = "qnx";//$NON-NLS-1$
/**
* Constant string (value "macosx") indicating the platform is running on a
* Mac OS X operating system.
*/
public static final String OS_MACOSX = "macosx";//$NON-NLS-1$
/**
* Constant string (value "epoc32") indicating the platform is running on a
* Epoc 32-bit Symbian operating system.
* @since 3.4
*/
public static final String OS_EPOC32 = "epoc32";//$NON-NLS-1$
/**
* Constant string (value "os/400") indicating the platform is running on a
* OS/400 operating system.
* @since 3.5
*/
public static final String OS_OS400 = "os/400"; //$NON-NLS-1$
/**
* Constant string (value "os/390") indicating the platform is running on a
* OS/390 operating system.
* @since 3.5
*/
public static final String OS_OS390 = "os/390"; //$NON-NLS-1$
/**
* Constant string (value "z/os") indicating the platform is running on a
* z/OS operating system.
* @since 3.5
*/
public static final String OS_ZOS = "z/os"; //$NON-NLS-1$
/**
* Constant string (value "unknown") indicating the platform is running on a
* machine running an unknown operating system.
*/
public static final String OS_UNKNOWN = "unknown";//$NON-NLS-1$
/**
* Constant string (value "x86") indicating the platform is running on an
* x86-based architecture.
*/
public static final String ARCH_X86 = "x86";//$NON-NLS-1$
/**
* Constant string (value "PA_RISC") indicating the platform is running on an
* PA_RISC-based architecture.
*/
public static final String ARCH_PA_RISC = "PA_RISC";//$NON-NLS-1$
/**
* Constant string (value "ppc") indicating the platform is running on an
* PowerPC-based architecture.
*/
public static final String ARCH_PPC = "ppc";//$NON-NLS-1$
/**
* Constant string (value "ppc64") indicating the platform is running on an
* PowerPC-based 64-bit architecture.
* @since 3.6
*/
public static final String ARCH_PPC64 = "ppc64";//$NON-NLS-1$
/**
* Constant string (value "sparc") indicating the platform is running on an
* Sparc-based architecture.
*/
public static final String ARCH_SPARC = "sparc";//$NON-NLS-1$
/**
* Constant string (value "x86_64") indicating the platform is running on an
* x86 64bit-based architecture.
*
* @since 3.1
*/
public static final String ARCH_X86_64 = "x86_64";//$NON-NLS-1$
/**
* Constant string (value "amd64") indicating the platform is running on an
* AMD64-based architecture.
*
* @deprecated use <code>ARCH_X86_64</code> instead. Note the values
* has been changed to be the value of the <code>ARCH_X86_64</code> constant.
*/
public static final String ARCH_AMD64 = ARCH_X86_64;
/**
* Constant string (value "ia64") indicating the platform is running on an
* IA64-based architecture.
*/
public static final String ARCH_IA64 = "ia64"; //$NON-NLS-1$
/**
* Constant string (value "ia64_32") indicating the platform is running on an
* IA64 32bit-based architecture.
*
* @since 3.1
*/
public static final String ARCH_IA64_32 = "ia64_32";//$NON-NLS-1$
/**
* Constant string (value "win32") indicating the platform is running on a
* machine using the Windows windowing system.
*/
public static final String WS_WIN32 = "win32";//$NON-NLS-1$
/**
* Constant string (value "wpf") indicating the platform is running on a
* machine using the Windows Presentation Foundation sytstem.
*/
public static final String WS_WPF = "wpf"; //$NON-NLS-1$
/**
* Constant string (value "motif") indicating the platform is running on a
* machine using the Motif windowing system.
*/
public static final String WS_MOTIF = "motif";//$NON-NLS-1$
/**
* Constant string (value "gtk") indicating the platform is running on a
* machine using the GTK windowing system.
*/
public static final String WS_GTK = "gtk";//$NON-NLS-1$
/**
* Constant string (value "photon") indicating the platform is running on a
* machine using the Photon windowing system.
*/
public static final String WS_PHOTON = "photon";//$NON-NLS-1$
/**
* Constant string (value "carbon") indicating the platform is running on a
* machine using the Carbon windowing system (Mac OS X).
*/
public static final String WS_CARBON = "carbon";//$NON-NLS-1$
/**
* Constant string (value "cocoa") indicating the platform is running on a
* machine using the Cocoa windowing system.
* @since 3.5
*/
public static final String WS_COCOA = "cocoa";//$NON-NLS-1$
/**
* Constant string (value "s60") indicating the platform is running on a
* machine using the S60 windowing system.
* @since 3.4
*/
public static final String WS_S60 = "s60";//$NON-NLS-1$
/**
* Constant string (value "unknown") indicating the platform is running on a
* machine running an unknown windowing system.
*/
public static final String WS_UNKNOWN = "unknown";//$NON-NLS-1$
}
|