| 123456789101112131415161718192021222324252627282930313233 |
- package com.xxl.job.client.handler;
- /**
- * remote job handler
- * @author xuxueli 2015-12-19 19:06:38
- */
- public abstract class IJobHandler extends HandlerRepository{
-
- /**
- * job handler <br><br>
- * the return Object will be and stored
- * @param param
- * @return
- * @throws Exception
- */
- public abstract JobHandleStatus handle(String... params) throws Exception;
-
- public enum JobHandleStatus{
- /**
- * handle success
- */
- SUCCESS,
- /**
- * handle fail
- */
- FAIL,
- /**
- * handle not found
- */
- NOT_FOUND;
- }
-
- }
|