public Sentinel(int InspectFrequencyMS, JenkinsCredentials Credentials, ISentinelEvents EventHandler) { this.inspectFrequency = InspectFrequencyMS; this.eventHandler = EventHandler; this.client = new JenkinsClient(Credentials, EventHandler); this.jobs = new List <JenkinsJob>(); this.checkTimer = new Timer(InspectFrequencyMS); this.checkTimer.Elapsed += CheckJobs; this.lastIndex = 0; this.windowTopmost = false; this.defaultCloud = "tramboolean"; }
public Sentinel(int InspectFrequencyMS, ISentinelEvents EventHandler) : this(InspectFrequencyMS, null, EventHandler) { }
public JenkinsClient(JenkinsCredentials Credentials, ISentinelEvents EventHandler) { this.creds = Credentials; this.eventHandler = EventHandler; }