Class ExecutableJobResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.job.ExecutableJobResource
@Path("executableJob")
@Produces("application/json")
@Consumes("application/json")
public class ExecutableJobResource
extends Object
-
Constructor Summary
ConstructorDescriptionExecutableJobResource
(AgentCapabilityService agentCapabilityService, AgentManager agentManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PaginatedJobService paginatedJobService, LinkService linkService, BambooPermissionManager bambooPermissionManager, AdministrationConfigurationAccessor administrationConfigurationAccessor, ElasticImageConfigurationManager elasticImageConfigurationManager, EphemeralAgentsService ephemeralAgentsService) -
Method Summary
Modifier and TypeMethodDescriptiongetJobsExecutableByAgent
(String filter, long agentId, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo) getJobsExecutableByElasticConfiguration
(String filter, Long configurationId, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo) getJobsExecutableByEphemeralAgentTemplate
(String filter, Long templateId, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
ExecutableJobResource
@Inject public ExecutableJobResource(AgentCapabilityService agentCapabilityService, AgentManager agentManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PaginatedJobService paginatedJobService, LinkService linkService, BambooPermissionManager bambooPermissionManager, AdministrationConfigurationAccessor administrationConfigurationAccessor, ElasticImageConfigurationManager elasticImageConfigurationManager, EphemeralAgentsService ephemeralAgentsService)
-
-
Method Details
-
getJobsExecutableByAgent
@GET @Path("agent/{agentId}") public RestPageModel<RestJobForExecutablesView> getJobsExecutableByAgent(@QueryParam("filter") @DefaultValue("") String filter, @PathParam("agentId") long agentId, @BeanParam PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo) -
getJobsExecutableByElasticConfiguration
@GET @Path("elasticImageConfiguration/{configurationId}") public RestPageModel<RestJobForExecutablesView> getJobsExecutableByElasticConfiguration(@QueryParam("filter") @DefaultValue("") String filter, @PathParam("configurationId") Long configurationId, @BeanParam PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo) -
getJobsExecutableByEphemeralAgentTemplate
@GET @Path("ephemeral/{templateId}") public RestPageModel<RestJobForExecutablesView> getJobsExecutableByEphemeralAgentTemplate(@QueryParam("filter") @DefaultValue("") String filter, @PathParam("templateId") Long templateId, @BeanParam PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo)
-