KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > itarget > ITargetJRE


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 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.itarget;
12
13 public interface ITargetJRE extends ITargetObject {
14     
15     public final static int TYPE_DEFAULT = 0;
16     public final static int TYPE_NAMED = 1;
17     public final static int TYPE_EXECUTION_ENV = 2;
18     
19     public static final String JavaDoc P_TARGET_JRE = "targetJRE"; //$NON-NLS-1$
20

21     /**
22      * Returns the JRE type (TYPE_DEFAULT or TYPE_NAMED or TYPE_EXECUTION_ENV)
23      *
24      * @return the int representing the predefined type of the JRE defined
25      */

26     public int getJREType();
27     
28     public String JavaDoc getJREName();
29     
30     public void setNamedJRE(String JavaDoc name);
31     
32     public void setExecutionEnvJRE(String JavaDoc name);
33     
34     public void setDefaultJRE();
35     
36     public String JavaDoc getCompatibleJRE();
37
38 }
39
Popular Tags