Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
7 103

Files

Files Errors
org/apache/fulcrum/osworkflow/DefaultWorkflowService.java 16
org/apache/fulcrum/osworkflow/WorkflowInstance.java 78
org/apache/fulcrum/osworkflow/WorkflowService.java 9

org/apache/fulcrum/osworkflow/DefaultWorkflowService.java

Error Line
Line is longer than 80 characters. 80
Line is longer than 80 characters. 86
Method 'retrieveWorkflows' is not designed for extension - needs to be abstract, final or empty. 89
Parameter caller should be final. 89
Parameter status should be final. 89
Expected @throws tag for 'WorkflowException'. 90
Unable to get class information for WorkflowException. 90
Array brackets at illegal position. 108
Expected an @return tag. 122
Method 'retrieveWorkflow' is not designed for extension - needs to be abstract, final or empty. 122
Parameter caller should be final. 122
Parameter conf should be final. 131
Expected @param tag for 'conf'. 131
Expected @throws tag for 'ConfigurationException'. 131
Unable to get class information for ConfigurationException. 131
Expected @throws tag for 'Exception'. 137

org/apache/fulcrum/osworkflow/WorkflowInstance.java

Error Line
Line is longer than 80 characters. 68
Line is longer than 80 characters. 69
Name 'workflow' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 77
Name 'id' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 80
Method 'getId' is not designed for extension - needs to be abstract, final or empty. 85
Line is longer than 80 characters. 100
Parameter workflow should be final. 105
'workflow' hides a field. 105
Parameter id should be final. 105
'id' hides a field. 105
Unused @param tag for 'String'. 111
Unused @param tag for 'int'. 112
Method 'canInitialize' is not designed for extension - needs to be abstract, final or empty. 116
Parameter workflowName should be final. 116
Expected @param tag for 'workflowName'. 116
Parameter initialStep should be final. 116
Expected @param tag for 'initialStep'. 116
Unable to get class information for WorkflowException. 117
Unused @param tag for 'int'. 124
Method 'canModifyEntryState' is not designed for extension - needs to be abstract, final or empty. 128
Parameter step should be final. 128
Expected @param tag for 'step'. 128
Unable to get class information for WorkflowException. 128
Method 'changeEntryState' is not designed for extension - needs to be abstract, final or empty. 137
Parameter entryState should be final. 137
Unable to get class information for WorkflowException. 137
Line is longer than 80 characters. 143
Line is longer than 80 characters. 145
Method 'doAction' is not designed for extension - needs to be abstract, final or empty. 148
Parameter actionId should be final. 148
Parameter inputs should be final. 148
Redundant throws: 'InvalidInputException' is subclass of 'WorkflowException'. 149
Unable to get class information for InvalidInputException. 149
Unable to get class information for WorkflowException. 149
Method 'equals' is not designed for extension - needs to be abstract, final or empty. 158
Parameter obj should be final. 158
Line is longer than 80 characters. 163
Line has trailing spaces. 166
Line is longer than 80 characters. 166
Method 'executeTriggerFunction' is not designed for extension - needs to be abstract, final or empty. 168
Parameter triggerId should be final. 168
Unable to get class information for WorkflowException. 168
Line is longer than 80 characters. 175
Line is longer than 80 characters. 176
Unused @throws tag for 'IllegalArgumentException'. 176
Method 'getAvailableActions' is not designed for extension - needs to be abstract, final or empty. 180
Parameter inputs should be final. 180
Unable to get class information for WorkflowException. 180
Line is longer than 80 characters. 185
Method 'getCurrentSteps' is not designed for extension - needs to be abstract, final or empty. 190
Unable to get class information for WorkflowException. 190
Method 'getEntryState' is not designed for extension - needs to be abstract, final or empty. 199
Unable to get class information for WorkflowException. 199
Method 'getHistorySteps' is not designed for extension - needs to be abstract, final or empty. 210
Unable to get class information for WorkflowException. 210
Expected an @return tag. 218
Method 'getPropertySet' is not designed for extension - needs to be abstract, final or empty. 218
Unable to get class information for WorkflowException. 218
Line is longer than 80 characters. 223
Line is longer than 80 characters. 224
Method 'getSecurityPermissions' is not designed for extension - needs to be abstract, final or empty. 227
Unable to get class information for WorkflowException. 227
Line has trailing spaces. 233
Expected an @return tag. 236
Method 'getWorkflowDescriptor' is not designed for extension - needs to be abstract, final or empty. 236
Unable to get class information for WorkflowException. 236
Method 'getWorkflowName' is not designed for extension - needs to be abstract, final or empty. 245
Unable to get class information for WorkflowException. 245
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 252
Method 'query' is not designed for extension - needs to be abstract, final or empty. 262
Parameter query should be final. 262
Unable to get class information for WorkflowException. 262
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 269
Line is longer than 80 characters. 276
Unused @throws tag for 'IllegalArgumentException'. 276
Method 'getAllAvailableActions' is not designed for extension - needs to be abstract, final or empty. 280
Unable to get class information for WorkflowException. 280
Array brackets at illegal position. 283

org/apache/fulcrum/osworkflow/WorkflowService.java

Error Line
Line has trailing spaces. 74
Redundant 'public' modifier. 78
Line has trailing spaces. 79
Line has trailing spaces. 81
Line is longer than 80 characters. 87
Redundant 'public' modifier. 87
Unable to get class information for WorkflowException. 87
Line has trailing spaces. 88
Line has trailing spaces. 89