| /******************************************************************************* |
| * Copyright (c) 2003 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.osgi.service.environment; |
| |
| 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. |
| * |
| * @since 2.0 |
| */ |
| public static final String OS_MACOSX = "macosx";//$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. |
| * |
| * @since 2.0 |
| */ |
| public static final String ARCH_PPC = "ppc";//$NON-NLS-1$ |
| |
| /** |
| * Constant string (value "sparc") indicating the platform is running on an |
| * Sparc-based architecture. |
| * |
| * @since 2.0 |
| */ |
| public static final String ARCH_SPARC = "sparc";//$NON-NLS-1$ |
| |
| /** |
| * Constant string (value "amd64") indicating the platform is running on an |
| * AMD64-based architecture. |
| * |
| * @since 3.0 |
| */ |
| public static final String ARCH_AMD64 = "amd64";//$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 "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). |
| * |
| * @since 2.0 |
| */ |
| public static final String WS_CARBON = "carbon";//$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$ |
| |
| } |