Class DeploymentManager
The manager for registering and creating deployments.
Inheritance
System.Object
DeploymentManager
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Applications.Deployment
Assembly: Phoenix.Plugin.AppDeployment.dll
Syntax
public class DeploymentManager : IDeploymentManager
Constructors
View SourceDeploymentManager()
Initializes a new instance of the DeploymentManager class.
Declaration
public DeploymentManager()
Methods
View SourceGetAllDeploymentFactories()
Gets all the registered deployment factories.
Declaration
public IList<DeploymentFactoryBase> GetAllDeploymentFactories()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<DeploymentFactoryBase> | A list of all the factories that were registered. |
GetAllRunningDeployments()
Gets all the running deployments.
Declaration
public IList<DeploymentBase> GetAllRunningDeployments()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<DeploymentBase> | A list of deployments that are currently running. |
GetDeploymentFactoriesForDeviceType(String)
Gets the all the valid deployment factories for a device type.
Declaration
public IList<DeploymentFactoryBase> GetDeploymentFactoriesForDeviceType(string deviceTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | deviceTypeName | The device type name. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<DeploymentFactoryBase> | A list of valid factories for the device type. |
RegisterDeploymentFactory(DeploymentFactoryBase)
Registers a deployment factory with the manager.
Declaration
public void RegisterDeploymentFactory(DeploymentFactoryBase deploymentFactory)
Parameters
Type | Name | Description |
---|---|---|
DeploymentFactoryBase | deploymentFactory | The deployment factory to register. |
UnregisterDeploymentFactory(DeploymentFactoryBase)
Unregisters a deployment factory with the manager.
Declaration
public void UnregisterDeploymentFactory(DeploymentFactoryBase deploymentFactory)
Parameters
Type | Name | Description |
---|---|---|
DeploymentFactoryBase | deploymentFactory | The deployment factory to unregister. |