KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > iproduct > IArgumentsInfo


1 /*******************************************************************************
2  * Copyright (c) 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.core.iproduct;
12
13 public interface IArgumentsInfo extends IProductObject {
14     
15     public static final String JavaDoc P_PROG_ARGS = "programArgs"; //$NON-NLS-1$
16
public static final String JavaDoc P_PROG_ARGS_LIN = "programArgsLin"; //$NON-NLS-1$
17
public static final String JavaDoc P_PROG_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$
18
public static final String JavaDoc P_PROG_ARGS_SOL = "programArgsSol"; //$NON-NLS-1$
19
public static final String JavaDoc P_PROG_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$
20

21     public static final String JavaDoc P_VM_ARGS = "vmArgs"; //$NON-NLS-1$
22
public static final String JavaDoc P_VM_ARGS_LIN = "vmArgsLin"; //$NON-NLS-1$
23
public static final String JavaDoc P_VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$
24
public static final String JavaDoc P_VM_ARGS_SOL = "vmArgsSol"; //$NON-NLS-1$
25
public static final String JavaDoc P_VM_ARGS_WIN = "vmArgsWin"; //$NON-NLS-1$
26

27     public static final int L_ARGS_ALL = 0;
28     public static final int L_ARGS_LINUX = 1;
29     public static final int L_ARGS_MACOS = 2;
30     public static final int L_ARGS_SOLAR = 3;
31     public static final int L_ARGS_WIN32 = 4;
32     
33     void setProgramArguments(String JavaDoc args, int platform);
34     
35     String JavaDoc getProgramArguments(int platform);
36     
37     String JavaDoc getCompleteProgramArguments(String JavaDoc os);
38     
39     void setVMArguments(String JavaDoc args, int platform);
40     
41     String JavaDoc getVMArguments(int platform);
42
43     String JavaDoc getCompleteVMArguments(String JavaDoc os);
44 }
45
Popular Tags