Package io.jenkins.blueocean.rest.model
Class BluePipelineContainer
- java.lang.Object
-
- io.jenkins.blueocean.rest.model.Container<BluePipeline>
-
- io.jenkins.blueocean.rest.model.BluePipelineContainer
-
- All Implemented Interfaces:
Pageable<BluePipeline>
,Reachable
,Iterable<BluePipeline>
public abstract class BluePipelineContainer extends Container<BluePipeline>
BluePipeline container- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected BlueOrganization
organization
-
Constructor Summary
Constructors Constructor Description BluePipelineContainer(BlueOrganization organization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateResponse
create(BluePipelineCreateRequest request)
CreateResponse
create(net.sf.json.JSONObject body, org.kohsuke.stapler.StaplerRequest staplerRequest)
Create new pipeline.-
Methods inherited from class io.jenkins.blueocean.rest.model.Container
get, getDynamic, iterator, list
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Field Detail
-
organization
protected final BlueOrganization organization
-
-
Constructor Detail
-
BluePipelineContainer
public BluePipelineContainer(BlueOrganization organization)
-
-
Method Detail
-
create
@POST @WebMethod(name="") public CreateResponse create(@JsonBody net.sf.json.JSONObject body, org.kohsuke.stapler.StaplerRequest staplerRequest) throws IOException
Create new pipeline.- Parameters:
body
-BluePipelineCreateRequest
request object- Returns:
CreateResponse
response- Throws:
IOException
-
create
public CreateResponse create(BluePipelineCreateRequest request) throws IOException
- Throws:
IOException
-
-