Class JobExt
- java.lang.Object
-
- com.cloudbees.workflow.rest.external.JobExt
-
public class JobExt extends Object
- Author:
- tom.fennelly@gmail.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobExt.JobLinks
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_RUNS_PER_JOB_DEFAULT
Default value of the max number of runs per page.static String
MAX_RUNS_PER_JOB_PROPERTY_NAME
Name of the system property to set the max number of runs per page.
-
Constructor Summary
Constructors Constructor Description JobExt()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static List<RunExt>
create(List<org.jenkinsci.plugins.workflow.job.WorkflowRun> runs)
Deprecated.static List<RunExt>
create(List<org.jenkinsci.plugins.workflow.job.WorkflowRun> runs, String since)
Deprecated.static List<RunExt>
create(List<org.jenkinsci.plugins.workflow.job.WorkflowRun> runs, String since, boolean fullStages)
static JobExt
create(org.jenkinsci.plugins.workflow.job.WorkflowJob job)
JobExt.JobLinks
get_links()
String
getName()
int
getRunCount()
void
set_links(JobExt.JobLinks _links)
void
setName(String name)
void
setRunCount(int runCount)
-
-
-
Field Detail
-
MAX_RUNS_PER_JOB_PROPERTY_NAME
public static final String MAX_RUNS_PER_JOB_PROPERTY_NAME
Name of the system property to set the max number of runs per page. Pagination not yet supported.
-
MAX_RUNS_PER_JOB_DEFAULT
public static final int MAX_RUNS_PER_JOB_DEFAULT
Default value of the max number of runs per page.- See Also:
- Constant Field Values
-
-
Method Detail
-
get_links
public JobExt.JobLinks get_links()
-
set_links
public void set_links(JobExt.JobLinks _links)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getRunCount
public int getRunCount()
-
setRunCount
public void setRunCount(int runCount)
-
create
public static JobExt create(org.jenkinsci.plugins.workflow.job.WorkflowJob job)
-
create
@Deprecated public static List<RunExt> create(List<org.jenkinsci.plugins.workflow.job.WorkflowRun> runs)
Deprecated.
-
create
@Deprecated public static List<RunExt> create(List<org.jenkinsci.plugins.workflow.job.WorkflowRun> runs, String since)
Deprecated.
-
-