Ejemplo n.º 1
0
 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";
 }
Ejemplo n.º 2
0
 public Sentinel(int InspectFrequencyMS, ISentinelEvents EventHandler)
     : this(InspectFrequencyMS, null, EventHandler)
 {
 }
Ejemplo n.º 3
0
 public JenkinsClient(JenkinsCredentials Credentials, ISentinelEvents EventHandler)
 {
     this.creds        = Credentials;
     this.eventHandler = EventHandler;
 }