C# Class Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.InvokeAzureHDInsightJobCommandBase

Inheritance: IInvokeAzureHDInsightJobCommand
Datei anzeigen Open project: Azure/azure-powershell

Public Methods

Method Description
Cancel ( ) : void
EndProcessing ( ) : Task
InvokeAzureHDInsightJobCommandBase ( ) : System
SetClient ( IAzureHDInsightCommandBase client ) : void
ValidateNotCanceled ( ) : void

Protected Methods

Method Description
StartJob ( AzureHDInsightJobDefinition jobDefinition, AzureHDInsightClusterConnection currentConnection ) : Task
WaitForCompletion ( AzureHDInsightJob startedJob, AzureHDInsightClusterConnection currentConnection ) : Task
WriteJobFailure ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
WriteJobSuccess ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
WriteOutput ( string content ) : void

Private Methods

Method Description
ClientOnJobStatus ( object sender, WaitJobStatusEventArgs waitJobStatusEventArgs ) : void
GetStreamForText ( string textContents ) : Stream
UploadFileToStorage ( AzureHDInsightHiveJobDefinition jobDefinition, AzureHDInsightClusterConnection currentConnection ) : AzureHDInsightHiveJobDefinition

Method Details

Cancel() public method

public Cancel ( ) : void
return void

EndProcessing() public method

public EndProcessing ( ) : Task
return Task

InvokeAzureHDInsightJobCommandBase() public method

public InvokeAzureHDInsightJobCommandBase ( ) : System
return System

SetClient() public method

public SetClient ( IAzureHDInsightCommandBase client ) : void
client IAzureHDInsightCommandBase
return void

StartJob() protected method

protected StartJob ( AzureHDInsightJobDefinition jobDefinition, AzureHDInsightClusterConnection currentConnection ) : Task
jobDefinition AzureHDInsightJobDefinition
currentConnection AzureHDInsightClusterConnection
return Task

ValidateNotCanceled() public method

public ValidateNotCanceled ( ) : void
return void

WaitForCompletion() protected method

protected WaitForCompletion ( AzureHDInsightJob startedJob, AzureHDInsightClusterConnection currentConnection ) : Task
startedJob AzureHDInsightJob
currentConnection AzureHDInsightClusterConnection
return Task

WriteJobFailure() protected method

protected WriteJobFailure ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
completedJob AzureHDInsightJob
currentConnection AzureHDInsightClusterConnection
return Task

WriteJobSuccess() protected method

protected WriteJobSuccess ( AzureHDInsightJob completedJob, AzureHDInsightClusterConnection currentConnection ) : Task
completedJob AzureHDInsightJob
currentConnection AzureHDInsightClusterConnection
return Task

WriteOutput() protected method

protected WriteOutput ( string content ) : void
content string
return void