ilscipio/scipio-erp

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

Summary

Maintainability
D
1 day
Test Coverage

GenericAbstractDispatcher has 27 methods (exceeds 20 allowed). Consider refactoring.
Open

public abstract class GenericAbstractDispatcher implements LocalDispatcher {

    private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());

    protected DispatchContext ctx = null;

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

        public 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 {

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

          public JobInfo schedule(String jobName, String poolName, String serviceName, long startTime, int frequency, int interval, int count, long endTime, int maxRetry, Object... context) throws GenericServiceException {

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

            public 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 {

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

              public 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 {

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

                public JobInfo schedule(String poolName, String serviceName, long startTime, int frequency, int interval, int count, long endTime, int maxRetry, Object... context) throws GenericServiceException {

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

                  public 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/GenericAbstractDispatcher.java - About 50 mins to fix

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

                    public 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/GenericAbstractDispatcher.java - About 50 mins to fix

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

                      public 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/GenericAbstractDispatcher.java - About 45 mins to fix

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

                        public 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/GenericAbstractDispatcher.java - About 45 mins to fix

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

                          public 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/GenericAbstractDispatcher.java - About 45 mins to fix

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

                            public 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/GenericAbstractDispatcher.java - About 45 mins to fix

                          There are no issues that match your filters.

                          Category
                          Status