Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.model.impl
Class VMInstallClasspath

java.lang.Object
  extended by org.eclipse.mtj.core.model.Classpath
      extended by org.eclipse.mtj.core.model.impl.VMInstallClasspath
All Implemented Interfaces:
IPersistable

public class VMInstallClasspath
extends Classpath

A special version of the Classpath class that is capable of appending or prepending the primary IVMInstall classpath libraries to this classpath dynamically.


Constructor Summary
VMInstallClasspath()
          Construct a new classpath with the libraries prepended or appended according to the provided boolean.
 
Method Summary
 ILibrary[] getEntries()
          Return the entries in the classpath.
 boolean isPrependVMLibraries()
           
 void loadUsing(IPersistenceProvider persistenceProvider)
          Load the state of this object using the specified persistence state information.
 void setPrependVMLibraries(boolean prependVMLibraries)
           
 void storeUsing(IPersistenceProvider persistenceProvider)
          Save the state of this object using the specified persistence state information.
 
Methods inherited from class org.eclipse.mtj.core.model.Classpath
addEntry, asClasspathEntries, asFileArray, asSkeletonFileArray, asSkeletonURLArray, asURLArray, equals, equals, hashCode, removeEntry, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VMInstallClasspath

public VMInstallClasspath()
Construct a new classpath with the libraries prepended or appended according to the provided boolean.

Parameters:
prependVMLibraries -
Method Detail

getEntries

public ILibrary[] getEntries()
Description copied from class: Classpath
Return the entries in the classpath.

Overrides:
getEntries in class Classpath
Returns:
See Also:
Classpath.getEntries()

isPrependVMLibraries

public boolean isPrependVMLibraries()

loadUsing

public void loadUsing(IPersistenceProvider persistenceProvider)
               throws PersistenceException
Description copied from interface: IPersistable
Load the state of this object using the specified persistence state information.

Specified by:
loadUsing in interface IPersistable
Overrides:
loadUsing in class Classpath
Throws:
PersistenceException
See Also:
Classpath.loadUsing(org.eclipse.mtj.core.persistence.IPersistenceProvider)

setPrependVMLibraries

public void setPrependVMLibraries(boolean prependVMLibraries)

storeUsing

public void storeUsing(IPersistenceProvider persistenceProvider)
                throws PersistenceException
Description copied from interface: IPersistable
Save the state of this object using the specified persistence state information.

Specified by:
storeUsing in interface IPersistable
Overrides:
storeUsing in class Classpath
Throws:
PersistenceException
See Also:
Classpath.storeUsing(org.eclipse.mtj.core.persistence.IPersistenceProvider)

Mobile Tools for Java
Release 1.0