Class DeploymentProvider
- Namespace
 - Dynamicweb.Deployment
 
- Assembly
 - Dynamicweb.Deployment.dll
 
Represents a provider which takes part in the the  deployment process as either source or destination.
  
  public abstract class DeploymentProvider
  - Inheritance
 - 
      
      DeploymentProvider
 
- Inherited Members
 
Properties
Name
Gets the name.
  
  public abstract string Name { get; }
  Property Value
- string
 - The name.
 
Url
Gets the URL.
  
  public abstract Uri Url { get; }
  Property Value
- Uri
 - The URL.
 
Methods
CompareDataItems(DeploymentProvider, DataItemSelection)
Compares the data items.
  
  public IEnumerable<Comparison> CompareDataItems(DeploymentProvider destination, DataItemSelection selection)
  Parameters
destinationDeploymentProvider- The destination.
 selectionDataItemSelection- The selection.
 
Returns
DeployDataItemsFrom(string, Package)
Deploys the data items from.
  
  public DeploymentInfo DeployDataItemsFrom(string id, Package package)
  Parameters
Returns
DeployDataItemsTo(string, DeploymentProvider, ICollection<DataItemIdentifier>)
Deploys the data items to.
  
  public DeploymentInfo DeployDataItemsTo(string id, DeploymentProvider destination, ICollection<DataItemIdentifier> dataItemIdentifiers)
  Parameters
idstring- The identifier.
 destinationDeploymentProvider- The destination.
 dataItemIdentifiersICollection<DataItemIdentifier>- The data item identifiers.
 
Returns
ExportDataItemsToPackage(string, ICollection<DataItemIdentifier>)
Deploys the data items to.
  
  public ExportInfo ExportDataItemsToPackage(string id, ICollection<DataItemIdentifier> dataItemIdentifiers)
  Parameters
idstring- The identifier.
 dataItemIdentifiersICollection<DataItemIdentifier>- The data item identifiers.
 
Returns
ExportPackage(string, DeploymentSet, Tracker)
Exports the package.
  
  protected abstract Package ExportPackage(string id, DeploymentSet deploymentSet, Tracker tracker)
  Parameters
idstring- The identifier.
 deploymentSetDeploymentSet- The deployment set.
 trackerTracker- The tracker.
 
Returns
GetDataGroup(string)
Gets the data group.
  
  public virtual DataGroup GetDataGroup(string dataGroupId)
  Parameters
dataGroupIdstring- The data group identifier.
 
Returns
GetDataGroups()
Gets the data groups.
  
  public abstract IEnumerable<DataGroup> GetDataGroups()
  Returns
GetDataItem(DataItemType, string)
Gets the data item.
  
  public virtual DataItem GetDataItem(DataItemType dataItemType, string dataItemId)
  Parameters
dataItemTypeDataItemType- Type of the data item.
 dataItemIdstring- The data item identifier.
 
Returns
GetDataItemInfo(DataItemType, string)
Gets the data item information.
  
  public virtual DataItemInfo GetDataItemInfo(DataItemType dataItemType, string dataItemId)
  Parameters
dataItemTypeDataItemType- Type of the data item.
 dataItemIdstring- The data item identifier.
 
Returns
GetDataItemInfos(DataItemSelection)
Gets the data item infos.
  
  public abstract IEnumerable<DataItemInfo> GetDataItemInfos(DataItemSelection selection)
  Parameters
selectionDataItemSelection- The selection.
 
Returns
GetDataItemInfos(DataItemType)
Gets the data item infos.
  
  public virtual IEnumerable<DataItemInfo> GetDataItemInfos(DataItemType dataItemType)
  Parameters
dataItemTypeDataItemType- Type of the data item.
 
Returns
GetDataItemInfosAsync(DataItemSelection)
protected virtual Task<IEnumerable<DataItemInfo>> GetDataItemInfosAsync(DataItemSelection selection)
  Parameters
selectionDataItemSelection
Returns
GetDataItems(DataItemSelection)
Gets the data items.
  
  public abstract IEnumerable<DataItem> GetDataItems(DataItemSelection selection)
  Parameters
selectionDataItemSelection- The selection.
 
Returns
GetDataItems(DataItemType)
Gets the data items.
  
  public virtual IEnumerable<DataItem> GetDataItems(DataItemType dataItemType)
  Parameters
dataItemTypeDataItemType- Type of the data item.
 
Returns
GetDeploymentStatus(string)
Gets the deployment status.
  
  public virtual ApplicationResponse<TrackingState> GetDeploymentStatus(string id)
  Parameters
idstring- The identifier.
 
Returns
GetSystemInformation()
Gets the system information.
  
  public abstract Dictionary<string, string> GetSystemInformation()
  Returns
- Dictionary<string, string>
 - A dictionary of system information
 
ImportPackage(string, Package, Tracker)
Imports the package.
  
  protected abstract void ImportPackage(string id, Package package, Tracker tracker)
  Parameters
VerifyCompatibility(DeploymentProvider, out ICollection<string>)
Verifies compatibility.
  
  public bool VerifyCompatibility(DeploymentProvider destination, out ICollection<string> differences)
  Parameters
destinationDeploymentProvider- The destination.
 differencesICollection<string>
Returns
VerifyConnection()
Verifies the connection.
  
  public virtual bool VerifyConnection()