net.sf.ant4eclipse.ant.type
Class JavaRuntime

java.lang.Object
  extended by net.sf.ant4eclipse.ant.type.JavaRuntime

public class JavaRuntime
extends java.lang.Object

Description of a single java runtime environment.


Constructor Summary
JavaRuntime()
          Initializes this JRE entry.
 
Method Summary
 java.lang.String getId()
          Returns the current ID used for the JRE.
 java.io.File getLocation()
          Returns the location of this JRE.
 void setId(java.lang.String newid)
          Changes the current ID used for the JRE.
 void setLocation(java.io.File newlocation)
          Changes the location for this JRE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaRuntime

public JavaRuntime()
Initializes this JRE entry.

Method Detail

setId

public void setId(java.lang.String newid)
Changes the current ID used for the JRE.

Parameters:
newid - The new ID for the JRE.

getId

public java.lang.String getId()
Returns the current ID used for the JRE.

Returns:
The current ID used for the JRE.

setLocation

public void setLocation(java.io.File newlocation)
Changes the location for this JRE.

Parameters:
newlocation - The new location of this JRE.

getLocation

public java.io.File getLocation()
Returns the location of this JRE.

Returns:
The current location of this JRE.