C# Class Configurator.code.Controller

Datei anzeigen Open project: perryofpeek/SqlToGraphite-core Class Usage Examples

Public Methods

Method Description
AddJob ( ISqlClient client ) : void
AddJobToRoleAndFrequency ( string role, int frequency, string jobName ) : void
AddNewHost ( string hostname ) : void
AddNewRole ( string roleName ) : void
AddRoleFrequency ( int frequency, string roleName ) : void
AddRoleToHost ( string hostname, string roleName ) : void
Controller ( ) : System
DeleteFrequency ( int frequency, string roleName ) : void
DeleteHost ( string hostname ) : void
DeleteJobFromRole ( string jobName, int frequency, string roleName ) : void
DeleteRole ( string roleName ) : void
DeleteRoleFromHost ( string hostname, string roleName ) : void
GetClientTypes ( ) : ListOfUniqueType
GetHosts ( ) : List
GetJobs ( ) : List
GetJobsInRole ( string name ) : void
GetRoles ( ) : List
GetTasksFrequencyInRole ( string name ) : List
GetTasksWithFrequencyInRole ( int selectedFrequency, string name ) : List
GetTypedJob ( string name ) : ISqlClient
GetWorkItems ( ) : List
Initialise ( string path ) : void
LoadConfig ( string path ) : void
Save ( string fileName ) : void

Private Methods

Method Description
GetRoleTaskSet ( string name ) : IEnumerable

Method Details

AddJob() public method

public AddJob ( ISqlClient client ) : void
client ISqlClient
return void

AddJobToRoleAndFrequency() public method

public AddJobToRoleAndFrequency ( string role, int frequency, string jobName ) : void
role string
frequency int
jobName string
return void

AddNewHost() public method

public AddNewHost ( string hostname ) : void
hostname string
return void

AddNewRole() public method

public AddNewRole ( string roleName ) : void
roleName string
return void

AddRoleFrequency() public method

public AddRoleFrequency ( int frequency, string roleName ) : void
frequency int
roleName string
return void

AddRoleToHost() public method

public AddRoleToHost ( string hostname, string roleName ) : void
hostname string
roleName string
return void

Controller() public method

public Controller ( ) : System
return System

DeleteFrequency() public method

public DeleteFrequency ( int frequency, string roleName ) : void
frequency int
roleName string
return void

DeleteHost() public method

public DeleteHost ( string hostname ) : void
hostname string
return void

DeleteJobFromRole() public method

public DeleteJobFromRole ( string jobName, int frequency, string roleName ) : void
jobName string
frequency int
roleName string
return void

DeleteRole() public method

public DeleteRole ( string roleName ) : void
roleName string
return void

DeleteRoleFromHost() public method

public DeleteRoleFromHost ( string hostname, string roleName ) : void
hostname string
roleName string
return void

GetClientTypes() public method

public GetClientTypes ( ) : ListOfUniqueType
return ListOfUniqueType

GetHosts() public method

public GetHosts ( ) : List
return List

GetJobs() public method

public GetJobs ( ) : List
return List

GetJobsInRole() public method

public GetJobsInRole ( string name ) : void
name string
return void

GetRoles() public method

public GetRoles ( ) : List
return List

GetTasksFrequencyInRole() public method

public GetTasksFrequencyInRole ( string name ) : List
name string
return List

GetTasksWithFrequencyInRole() public method

public GetTasksWithFrequencyInRole ( int selectedFrequency, string name ) : List
selectedFrequency int
name string
return List

GetTypedJob() public method

public GetTypedJob ( string name ) : ISqlClient
name string
return ISqlClient

GetWorkItems() public method

public GetWorkItems ( ) : List
return List

Initialise() public method

public Initialise ( string path ) : void
path string
return void

LoadConfig() public method

public LoadConfig ( string path ) : void
path string
return void

Save() public method

public Save ( string fileName ) : void
fileName string
return void