ilscipio/scipio-erp

View on GitHub
framework/service/src/org/ofbiz/service/LocalDispatcher.java

Summary

Maintainability
D
2 days
Test Coverage

LocalDispatcher has 69 methods (exceeds 20 allowed). Consider refactoring.
Open

public interface LocalDispatcher {

    /**
     * Returns the default dispatcher from central factory.
     *
Severity: Major
Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 1 day to fix

    Method schedule has 11 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        JobInfo schedule(String jobName, String poolName, String serviceName, Map<String, ? extends Object> context, long startTime, int frequency, int interval, int count, long endTime, int maxRetry, String eventId) throws GenericServiceException;
    Severity: Major
    Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 1 hr to fix

      Method schedule has 10 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          JobInfo schedule(String jobName, String poolName, String serviceName, Map<String, ? extends Object> context, long startTime, int frequency, int interval, int count, long endTime, int maxRetry) throws GenericServiceException;
      Severity: Major
      Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 1 hr to fix

        Method schedule has 10 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            JobInfo schedule(String jobName, String poolName, String serviceName, long startTime, int frequency, int interval, int count, long endTime, int maxRetry, Object... context) throws GenericServiceException;
        Severity: Major
        Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 1 hr to fix

          Method schedule has 9 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              JobInfo schedule(String poolName, String serviceName, long startTime, int frequency, int interval, int count, long endTime, int maxRetry, Object... context) throws GenericServiceException;
          Severity: Major
          Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 1 hr to fix

            Method schedule has 9 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                JobInfo schedule(String poolName, String serviceName, Map<String, ? extends Object> context, long startTime, int frequency, int interval, int count, long endTime, int maxRetry) throws GenericServiceException;
            Severity: Major
            Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 1 hr to fix

              Method schedule has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  JobInfo schedule(String serviceName, long startTime, int frequency, int interval, int count, long endTime, Object... context) throws GenericServiceException;
              Severity: Major
              Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 50 mins to fix

                Method schedule has 7 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    JobInfo schedule(String serviceName, Map<String, ? extends Object> context, long startTime, int frequency, int interval, int count, long endTime) throws GenericServiceException;
                Severity: Major
                Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 50 mins to fix

                  Method runAsync has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      JobInfo runAsync(String serviceName, Map<String, ? extends Object> context, GenericRequester requester, boolean persist, int transactionTimeout, boolean requireNewTransaction) throws ServiceAuthException, ServiceValidationException, GenericServiceException;
                  Severity: Minor
                  Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 45 mins to fix

                    Method schedule has 6 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        JobInfo schedule(String serviceName, Map<String, ? extends Object> context, long startTime, int frequency, int interval, int count) throws GenericServiceException;
                    Severity: Minor
                    Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 45 mins to fix

                      Method runAsync has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          JobInfo runAsync(String serviceName, GenericRequester requester, boolean persist, int transactionTimeout, boolean requireNewTransaction, Object... context) throws ServiceAuthException, ServiceValidationException, GenericServiceException;
                      Severity: Minor
                      Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 45 mins to fix

                        Method schedule has 6 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            JobInfo schedule(String serviceName, Map<String, ? extends Object> context, long startTime, int frequency, int interval, long endTime) throws GenericServiceException;
                        Severity: Minor
                        Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 45 mins to fix

                          Method schedule has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              JobInfo schedule(String serviceName, long startTime, int frequency, int interval, long endTime, Object... context) throws GenericServiceException;
                          Severity: Minor
                          Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 45 mins to fix

                            Method schedule has 6 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                JobInfo schedule(String serviceName, long startTime, int frequency, int interval, int count, Object... context) throws GenericServiceException;
                            Severity: Minor
                            Found in framework/service/src/org/ofbiz/service/LocalDispatcher.java - About 45 mins to fix

                              There are no issues that match your filters.

                              Category
                              Status