public class JobHolder extends Object implements CloudJobHandler
| Constructor and Description |
|---|
JobHolder(String name,
String cron7x,
String description,
CloudJobHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCron7x()
获取计划表达式
|
String |
getDescription()
获取描述
|
String |
getName()
获取任务
|
void |
handle(org.noear.solon.core.handle.Context ctx)
::起到代理作用,从而附加能力
|
public JobHolder(String name, String cron7x, String description, CloudJobHandler handler)
public String getName()
public String getCron7x()
public String getDescription()
public void handle(org.noear.solon.core.handle.Context ctx)
throws Throwable
handle in interface CloudJobHandlerThrowableCopyright © 2025. All rights reserved.