eclipseme.core.model
Interface IPreverifier

All Known Implementing Classes:
Preverifier

public interface IPreverifier

Required interface for preverification support. Each IPlatformDefinition is required to provide a preverifier instance for use during builds.

Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.

Copyright (c) 2003-2005 Craig Setera
All Rights Reserved.
Licensed under the Eclipse Public License - v 1.0


$Revision: 1.5 $
$Date: 2005/07/07 02:36:56 $

Author:
Craig Setera

Method Summary
 java.util.Map preverify(IMidletSuiteProject midletProject, org.eclipse.core.resources.IResource[] toVerify, org.eclipse.core.resources.IFolder outputFolder, org.eclipse.core.runtime.IProgressMonitor monitor)
          Launch the preverification process on the specified resources.
 java.util.Map preverifyJarFile(IMidletSuiteProject midletProject, java.io.File jarFile, org.eclipse.core.resources.IFolder outputFolder, org.eclipse.core.runtime.IProgressMonitor monitor)
          Launch the preverification process on the specified jar file.
 

Method Detail

preverify

public java.util.Map preverify(IMidletSuiteProject midletProject,
                               org.eclipse.core.resources.IResource[] toVerify,
                               org.eclipse.core.resources.IFolder outputFolder,
                               org.eclipse.core.runtime.IProgressMonitor monitor)
                        throws org.eclipse.core.runtime.CoreException,
                               java.io.IOException
Launch the preverification process on the specified resources.

Parameters:
midletProject - The project in which the resources to be preverified reside.
toVerify - The resources to be preverified.
outputFolder - The folder into which the output is to be placed.
monitor - Progress monitor
Returns:
A map of class names mapped to error information. If the map is empty there were no errors registered during the preverification.
Throws:
org.eclipse.core.runtime.CoreException
java.io.IOException

preverifyJarFile

public java.util.Map preverifyJarFile(IMidletSuiteProject midletProject,
                                      java.io.File jarFile,
                                      org.eclipse.core.resources.IFolder outputFolder,
                                      org.eclipse.core.runtime.IProgressMonitor monitor)
                               throws org.eclipse.core.runtime.CoreException,
                                      java.io.IOException
Launch the preverification process on the specified jar file.

Parameters:
midletProject - The project in which the resources to be preverified reside.
jarFile - The jar file to be preverified.
outputFolder - The folder into which the output is to be placed.
monitor - Progress monitor
Returns:
A map of class names mapped to error information. If the map is empty there were no errors registered during the preverification.
Throws:
org.eclipse.core.runtime.CoreException
java.io.IOException