@RestController
@RequestMapping(value="${hsweb.web.mappings.scheduleJob:schedule/job}")
@Authorize(permission="schedule-job",
description="\u5b9a\u65f6\u8c03\u5ea6\u7ba1\u7406")
public class ScheduleJobController
extends Object
implements SimpleGenericEntityController<ScheduleJobEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>
| 构造器和说明 |
|---|
ScheduleJobController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseMessage<Void> |
disable(String id) |
ResponseMessage<Void> |
enable(String id) |
ResponseMessage<Object> |
execute(String id,
Map<String,Object> args) |
ScheduleJobService |
getService() |
void |
setScheduleJobExecutor(ScheduleJobExecutor scheduleJobExecutor) |
void |
setScheduleJobService(ScheduleJobService scheduleJobService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmodelToEntityassertNotNull, count, getByPrimaryKey, getByPrimaryKey, list, listNoPagingsaveOrUpdate, updateByPrimaryKeyadddeleteByPrimaryKey@Autowired @Authorize(ignore=true) public void setScheduleJobExecutor(ScheduleJobExecutor scheduleJobExecutor)
@Autowired @Authorize(ignore=true) public void setScheduleJobService(ScheduleJobService scheduleJobService)
public ScheduleJobService getService()
getService 在接口中 CreateController<ScheduleJobEntity,String,ScheduleJobEntity>getService 在接口中 DeleteController<ScheduleJobEntity,String>getService 在接口中 QueryController<ScheduleJobEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 SimpleCrudController<ScheduleJobEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 SimpleGenericEntityController<ScheduleJobEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 UpdateController<ScheduleJobEntity,String,ScheduleJobEntity>@PutMapping(value="/{id}/enable")
@Authorize(action="enable")
public ResponseMessage<Void> enable(@PathVariable
String id)
@PutMapping(value="/{id}/disable")
@Authorize(action="disable")
public ResponseMessage<Void> disable(@PathVariable
String id)
Copyright © 2018. All rights reserved.