org.eclipse.mtj.api.extension
Interface BuildProvider

All Superinterfaces:
org.eclipse.emf.ecore.EObject, MtjExtension, org.eclipse.emf.common.notify.Notifier

public interface BuildProvider
extends MtjExtension

A Build Provider is responsible for building the project from source to deployment. Build Provider instances can implement the build process differently.


Method Summary
 Deployment build(org.eclipse.mtj.api.model.IMtjProject project, java.lang.String projectNatureId, BuildType type, RuntimePlatformDefinition targetPlatform, org.eclipse.core.runtime.IProgressMonitor monitor)
          Performs the project build.
 BuildType[] getSupportedTypes()
          Returns the build types that are supported by the Build Provider.
 
Methods inherited from interface org.eclipse.mtj.api.extension.MtjExtension
getDescription, getId, getType, getVendor, getVersion, isActive, setActive, setDescription, setId, setType, setVendor, setVersion
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSupportedTypes

BuildType[] getSupportedTypes()
                              throws org.eclipse.mtj.exception.MtjException
Returns the build types that are supported by the Build Provider.

Returns:
Throws:
org.eclipse.mtj.exception.MtjException

build

Deployment build(org.eclipse.mtj.api.model.IMtjProject project,
                 java.lang.String projectNatureId,
                 BuildType type,
                 RuntimePlatformDefinition targetPlatform,
                 org.eclipse.core.runtime.IProgressMonitor monitor)
                 throws org.eclipse.mtj.exception.MtjException
Performs the project build.

Parameters:
project -
type -
targetPlatform -
monitor -
Returns:
Throws:
org.eclipse.mtj.exception.MtjException