All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.powerjob.server.solon.anno.button.JobRetryInstanceButtonService Maven / Gradle / Ivy

The newest version!
package tech.powerjob.server.solon.anno.button;

import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;
import site.sorghum.anno._common.entity.CommonParam;
import site.sorghum.anno.anno.javacmd.JavaCmdSupplier;

@Component
public class JobRetryInstanceButtonService implements JavaCmdSupplier {

    @Inject
    JobInstanceButtonService jobInstanceButtonService;

    @Override
    public String run(CommonParam param) {
        jobInstanceButtonService.retryInstance(param);
        return "运行成功";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy