org.eclipse.mtj.api.extension
Interface DeploymentManagement

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

public interface DeploymentManagement
extends MtjExtension

Provides a management interface to deployment providers.


Method Summary
 void deploy(Deployment deployment, Device[] devices, DeviceCommunicationProtocol transferProtocol, org.eclipse.core.runtime.IProgressMonitor monitor)
          Deploys the deployment object to the target devices by using the defined transfer protocol.
 DeploymentProvider getDeploymentProvider(Device device)
          Returns DeploymentProvider that owns the Device.
 Device[] getTargetDevices(RuntimePlatformDefinition runtimePlatformDefinition)
          Returns the Devices the could be deployment targets and that support the RuntimePlatformDefinition.
 
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

getTargetDevices

Device[] getTargetDevices(RuntimePlatformDefinition runtimePlatformDefinition)
                          throws org.eclipse.mtj.exception.MtjException
Returns the Devices the could be deployment targets and that support the RuntimePlatformDefinition.

Parameters:
runtimePlatformDefinition -
Returns:
Throws:
org.eclipse.mtj.exception.MtjException

getDeploymentProvider

DeploymentProvider getDeploymentProvider(Device device)
Returns DeploymentProvider that owns the Device.

Parameters:
device -
Returns:

deploy

void deploy(Deployment deployment,
            Device[] devices,
            DeviceCommunicationProtocol transferProtocol,
            org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.mtj.exception.MtjException
Deploys the deployment object to the target devices by using the defined transfer protocol. If transfer protocol parameter has null value, default transfer protocol is used.

Parameters:
deployment -
devices -
transferProtocol -
monitor -
Throws:
org.eclipse.mtj.exception.MtjException