C# Class Dev2.Activities.Specs.Scheduler.SchedulerSteps

Afficher le fichier Open project: Warewolf-ESB/Warewolf

Méthodes publiques

Méthode Description
AccountExists ( string name ) : bool
AddUserToGroup ( string groupName, System.DirectoryServices.AccountManagement.PrincipalContext context, System.DirectoryServices.AccountManagement.UserPrincipal user ) : void
CreateLocalWindowsAccount ( string username, string password, string groupName ) : bool
GetUserSecurityIdentifier ( string name ) : System.Security.Principal.SecurityIdentifier
UpdateTrigger ( IScheduledResource task, TechTalk.SpecFlow.Table table ) : void

Private Methods

Méthode Description
CreateScheduleTrigger ( TechTalk.SpecFlow.Table table ) : Microsoft.Win32.TaskScheduler.Trigger
GetDays ( string split ) : DaysOfTheWeek
GivenExecutesAnWorkflow ( string scheduleName, string workFlow ) : void
GivenHasAScheduleOf ( string scheduleName, TechTalk.SpecFlow.Table table ) : void
GivenHasAUsernameOfAndAPasswordOf ( string scheduleName, string userName, string password ) : void
GivenIHaveASchedule ( string scheduleName ) : void
GivenTaskHistoryIs ( string scheduleName, int history ) : void
GivenTheTaskStatusIs ( string schedule, string status ) : void
ThenHasRowOfHistory ( string scheduleName, int history ) : void
ThenTheHistoryDebugOutputForForRowIs ( string p0, int p1, TechTalk.SpecFlow.Table table ) : void
ThenTheScheduleStatusIs ( string status ) : void
ThenTheScheduleTaskHasError ( string error ) : void
WhenTheIsExecutedTimes ( string scheduleName, int times ) : void

Method Details

AccountExists() public static méthode

public static AccountExists ( string name ) : bool
name string
Résultat bool

AddUserToGroup() public static méthode

public static AddUserToGroup ( string groupName, System.DirectoryServices.AccountManagement.PrincipalContext context, System.DirectoryServices.AccountManagement.UserPrincipal user ) : void
groupName string
context System.DirectoryServices.AccountManagement.PrincipalContext
user System.DirectoryServices.AccountManagement.UserPrincipal
Résultat void

CreateLocalWindowsAccount() public static méthode

public static CreateLocalWindowsAccount ( string username, string password, string groupName ) : bool
username string
password string
groupName string
Résultat bool

GetUserSecurityIdentifier() public static méthode

public static GetUserSecurityIdentifier ( string name ) : System.Security.Principal.SecurityIdentifier
name string
Résultat System.Security.Principal.SecurityIdentifier

UpdateTrigger() public méthode

public UpdateTrigger ( IScheduledResource task, TechTalk.SpecFlow.Table table ) : void
task IScheduledResource
table TechTalk.SpecFlow.Table
Résultat void