Class BuildWithEiffelLinksAction<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT,RunT>,RunT extends Run<JobT,RunT> & Queue.Executable>

java.lang.Object
com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.BuildWithEiffelLinksAction<JobT,RunT>
All Implemented Interfaces:
Action, ModelObject

public class BuildWithEiffelLinksAction<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT,RunT>,RunT extends Run<JobT,RunT> & Queue.Executable> extends Object implements Action
An Action that attaches an additional API endpoint to jobs for starting a build with one or more Eiffel links. The endpoint is $JOB_URL/eiffel/build and should behave as the regular $JOB_URL/build endpoint, i.e. you can supply parameters by posting a form with a JSON string. Additionally, it requires a (possibly empty) list of Eiffel links. Example (payload lacking URL encoding to improve readability):
 POST $JOB_URL/eiffel/build
 Content-Type: application/x-www-form-urlencoded

 json={"eiffellinks": [{"target": "662b3813-bef4-4588-bf75-ffaead24a6d5", "type": "CAUSE"}], "parameter": [{"name": "PARAM_NAME", "value": "param value"}]}
 
The Eiffel links, if any, will be passed to the build as an EiffelCause cause. That cause will be used when piecing together the EiffelActivityTriggeredEvent which gets captured in the Run's EiffelActivityAction.