C# Class Kudu.Services.ServiceHookHandlers.VSOHandler

Default Servicehook Handler, uses VSO format.
Inheritance: ServiceHookHandlerBase
Show file Open project: projectkudu/kudu Class Usage Examples

Public Methods

Method Description
TryParseDeploymentInfo ( System.Web.HttpRequestBase request, Newtonsoft.Json.Linq.JObject payload, string targetBranch, Kudu.Services.ServiceHookHandlers.DeploymentInfo &deploymentInfo ) : DeployAction
VSOHandler ( IDeploymentSettingsManager settings ) : System

Protected Methods

Method Description
GetDeployer ( ) : string
GetDeploymentInfo ( System.Web.HttpRequestBase request, Newtonsoft.Json.Linq.JObject payload, string targetBranch ) : Kudu.Services.ServiceHookHandlers.DeploymentInfo

Private Methods

Method Description
GetRemoteUrl ( Newtonsoft.Json.Linq.JObject payload ) : Uri

Method Details

GetDeployer() protected method

protected GetDeployer ( ) : string
return string

GetDeploymentInfo() protected method

protected GetDeploymentInfo ( System.Web.HttpRequestBase request, Newtonsoft.Json.Linq.JObject payload, string targetBranch ) : Kudu.Services.ServiceHookHandlers.DeploymentInfo
request System.Web.HttpRequestBase
payload Newtonsoft.Json.Linq.JObject
targetBranch string
return Kudu.Services.ServiceHookHandlers.DeploymentInfo

TryParseDeploymentInfo() public method

public TryParseDeploymentInfo ( System.Web.HttpRequestBase request, Newtonsoft.Json.Linq.JObject payload, string targetBranch, Kudu.Services.ServiceHookHandlers.DeploymentInfo &deploymentInfo ) : DeployAction
request System.Web.HttpRequestBase
payload Newtonsoft.Json.Linq.JObject
targetBranch string
deploymentInfo Kudu.Services.ServiceHookHandlers.DeploymentInfo
return DeployAction

VSOHandler() public method

public VSOHandler ( IDeploymentSettingsManager settings ) : System
settings IDeploymentSettingsManager
return System