C# Class PurgarNET.AAConnector.Shared.AAHandlerBase

Inheritance: HandlerBase
显示文件 Open project: jurepurgar/aa-scsm-connector

Protected Properties

Property Type Description
_aaClient PurgarNET.AAConnector.Shared.AutomationClient.AAClient
_settings ConnectorSettings

Public Methods

Method Description
CreateStartRunbookJob ( System.Guid activityId ) : Job
GetActivityObject ( System.Guid activityId ) : EnterpriseManagementObject
GetActivityParentObject ( System.Guid activityId ) : EnterpriseManagementObject
GetActivityPropertyDefinitions ( ManagementPackClass c ) : IEnumerable
ProcessActivity ( EnterpriseManagementObject activityObj ) : System.Threading.Tasks.Task

Protected Methods

Method Description
Initialize ( EnterpriseManagementGroup emg, AuthenticationType authType, EventHandler codeRequiredHandler, System.Guid clientId = default(Guid), string clientSecret = null ) : bool
Initialize ( string ServerName, AuthenticationType authType, EventHandler codeRequiredHandler, System.Guid clientId = default(Guid), string clientSecret = null ) : bool
InitializeClient ( AuthenticationType authType, EventHandler codeRequiredHandler, System.Guid clientId = default(Guid), string clientSecret = null ) : bool

Private Methods

Method Description
GetRelatedObjects ( System.Guid objectId, ManagementPackRelationship rel ) : List

Method Details

CreateStartRunbookJob() public method

public CreateStartRunbookJob ( System.Guid activityId ) : Job
activityId System.Guid
return PurgarNET.AAConnector.Shared.AutomationClient.Models.Job

GetActivityObject() public method

public GetActivityObject ( System.Guid activityId ) : EnterpriseManagementObject
activityId System.Guid
return EnterpriseManagementObject

GetActivityParentObject() public method

public GetActivityParentObject ( System.Guid activityId ) : EnterpriseManagementObject
activityId System.Guid
return EnterpriseManagementObject

GetActivityPropertyDefinitions() public method

public GetActivityPropertyDefinitions ( ManagementPackClass c ) : IEnumerable
c ManagementPackClass
return IEnumerable

Initialize() protected method

protected Initialize ( EnterpriseManagementGroup emg, AuthenticationType authType, EventHandler codeRequiredHandler, System.Guid clientId = default(Guid), string clientSecret = null ) : bool
emg EnterpriseManagementGroup
authType AuthenticationType
codeRequiredHandler EventHandler
clientId System.Guid
clientSecret string
return bool

Initialize() protected method

protected Initialize ( string ServerName, AuthenticationType authType, EventHandler codeRequiredHandler, System.Guid clientId = default(Guid), string clientSecret = null ) : bool
ServerName string
authType AuthenticationType
codeRequiredHandler EventHandler
clientId System.Guid
clientSecret string
return bool

InitializeClient() protected method

protected InitializeClient ( AuthenticationType authType, EventHandler codeRequiredHandler, System.Guid clientId = default(Guid), string clientSecret = null ) : bool
authType AuthenticationType
codeRequiredHandler EventHandler
clientId System.Guid
clientSecret string
return bool

ProcessActivity() public method

public ProcessActivity ( EnterpriseManagementObject activityObj ) : System.Threading.Tasks.Task
activityObj EnterpriseManagementObject
return System.Threading.Tasks.Task

Property Details

_aaClient protected_oe property

protected AAClient,PurgarNET.AAConnector.Shared.AutomationClient _aaClient
return PurgarNET.AAConnector.Shared.AutomationClient.AAClient

_settings protected_oe property

protected ConnectorSettings _settings
return ConnectorSettings