org.netbeans.spi.java.platform
Class CustomPlatformInstall
java.lang.Object
org.netbeans.spi.java.platform.GeneralPlatformInstall
org.netbeans.spi.java.platform.CustomPlatformInstall
public abstract class CustomPlatformInstall
- extends GeneralPlatformInstall
Defines an API for registering custom Java platform installer. The installer
is responsible for instantiation of JavaPlatform
through the provided
TemplateWizard.Iterator. If your installer selects the platform on the local disk you
probably don't want to use this class, the PlatformInstall
class
creates an platform chooser for you. You want to use this class if the
platform is not on the local disk, eg. you want to download it from the web.
Consult the GeneralPlatformInstall
javadoc about the CustomPlatformInstall
registration.
- Since:
- 1.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomPlatformInstall
public CustomPlatformInstall()
createIterator
public abstract WizardDescriptor.InstantiatingIterator<WizardDescriptor> createIterator()
- Returns the
WizardDescriptor#InstantiatingIterator
used to install
the platform. The platform definition file returned by the instantiate method
should be created in the Services/Platforms/org-netbeans-api-java-Platform
folder on the system filesystem.
- Returns:
- TemplateWizard.Iterator instance responsible for instantiating
the platform. The instantiate method of the returned iterator should
return the Set containing the platform.