Interface IDeploymentManager
The interface for registering and creating deployments.
Namespace: Phoenix.Applications.Deployment
Assembly: Phoenix.Abstractions.Applications.dll
Syntax
public interface IDeploymentManager
Methods
View SourceGetAllDeploymentFactories()
Gets all the registered deployment factories.
Declaration
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
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
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
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
void UnregisterDeploymentFactory(DeploymentFactoryBase deploymentFactory)
Parameters
Type | Name | Description |
---|---|---|
DeploymentFactoryBase | deploymentFactory | The deployment factory to unregister. |