net.sf.ant4eclipse.ant.type
Class JreContainer

java.lang.Object
  extended by DataType
      extended by net.sf.ant4eclipse.ant.type.JreContainer

public class JreContainer
extends DataType

A datatype used as a container for classpathes.


Constructor Summary
JreContainer(Project project)
          Simply initialises this new type.
 
Method Summary
 void addConfiguredJre(JavaRuntime vm)
          Adds the supplied java runtime environment to this type after it has been configured..
 void addJre(JavaRuntime vm)
          Adds the supplied java runtime environment to this type.
 JavaRuntime createJre()
          Creates the entry for a java runtime environment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JreContainer

public JreContainer(Project project)
Simply initialises this new type.

Parameters:
project - The project this type applies to.
Method Detail

createJre

public JavaRuntime createJre()
Creates the entry for a java runtime environment.

Returns:
An entry for a java runtime environment.

addJre

public void addJre(JavaRuntime vm)
Adds the supplied java runtime environment to this type.

Parameters:
vm - The java runtime environment configuration that shall be added.

addConfiguredJre

public void addConfiguredJre(JavaRuntime vm)
Adds the supplied java runtime environment to this type after it has been configured..

Parameters:
vm - The java runtime environment configuration that shall be added.