git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Fri, 10 Dec 2021 10:19:17 +0000 (10:19 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Fri, 10 Dec 2021 10:19:17 +0000 (10:19 +0000)
server/user.jobengine.osgi.server/src/user/jobengine/server/scheduler/ScheduledJob.java

index b0f23b2e67a94272084f78e7d1e9ab9b950c339e..f454722397bf1b7fa30ef5404a084d5f4b86751d 100644 (file)
@@ -17,10 +17,11 @@ import user.jobengine.server.IJobStatusChangedListener;
 import user.jobengine.server.JobEngineException;\r
 \r
 /**\r
- * JobRuntime-ot reprezental, template nev alapjan kulonbozteti meg oket a quartz.\r
+ * JobRuntime-ot reprezental, template nev alapjan kulonbozteti meg oket a\r
+ * quartz.\r
  */\r
 @DisallowConcurrentExecution\r
-public class ScheduledJob extends NativeJob { //implements InterruptableJob{\r
+public class ScheduledJob extends NativeJob { // implements InterruptableJob{\r
        private static final Logger logger = LogManager.getLogger();\r
        public final static String JOB_SERVICE_INSTANCE = "jobServiceInstance";\r
        private String jobId;\r
@@ -35,7 +36,8 @@ public class ScheduledJob extends NativeJob { //implements InterruptableJob{
 \r
        public IJobRuntime doJob() throws JobEngineException {\r
                if (jobEngine.isScheduledExecutionDisabled()) {\r
-                       //logger.warn("Scheduled execution is temporarly disabled, skipping execution of '{}'", jobName);\r
+                       // logger.warn("Scheduled execution is temporarly disabled, skipping execution\r
+                       // of '{}'", jobName);\r
                        return null;\r
                }\r
                return jobEngine.submit(templateName, jobName, getJobParameters());\r
@@ -43,7 +45,8 @@ public class ScheduledJob extends NativeJob { //implements InterruptableJob{
 \r
        public IJobRuntime doJob(IJobStatusChangedListener statusListener) throws JobEngineException {\r
                if (jobEngine.isScheduledExecutionDisabled()) {\r
-                       //logger.warn("Scheduled execution is temporarly disabled, skipping execution of '{}'", jobName);\r
+                       // logger.warn("Scheduled execution is temporarly disabled, skipping execution\r
+                       // of '{}'", jobName);\r
                        return null;\r
                }\r
                return jobEngine.submit(null, statusListener, templateName, jobName, getJobParameters());\r
@@ -61,7 +64,7 @@ public class ScheduledJob extends NativeJob { //implements InterruptableJob{
                        try {\r
                                realJob.doJob();\r
                        } catch (Exception e) {\r
-                               //logger.warn(e.getMessage());\r
+                               // logger.warn(e.getMessage());\r
                        }\r
                }\r
        }\r
@@ -102,8 +105,7 @@ public class ScheduledJob extends NativeJob { //implements InterruptableJob{
        }\r
 \r
        /**\r
-        * @param active\r
-        *            the active to set\r
+        * @param active the active to set\r
         */\r
        public void setActive(boolean active) {\r
                this.active = active;\r