com.offbytwo.jenkins.model.MainView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jenkins-client Show documentation
Show all versions of jenkins-client Show documentation
A Jenkins API client for Java
/*
* Copyright (c) 2013 Rising Oak LLC.
*
* Distributed under the MIT license: http://opensource.org/licenses/MIT
*/
package com.offbytwo.jenkins.model;
import com.google.common.collect.Lists;
import java.util.Arrays;
import java.util.List;
public class MainView extends BaseModel {
private List jobs;
/* default constructor needed for Jackson */
public MainView() {
this(Lists.newArrayList());
}
public MainView(List jobs) {
this.jobs = jobs;
}
public MainView(Job... jobs) {
this(Arrays.asList(jobs));
}
public List getJobs() {
return jobs;
}
public void setJobs(List jobs) {
this.jobs = jobs;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy