You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,12 +44,52 @@ English | [中文](README_cn.md)
44
44
45
45
## About The Project
46
46
47
+
Summer is a minimized AOP (Aspect-Oriented Programming) and IoC (Inversion of Control) kernel tool library. It provides a set of validators and related utility classes to simplify the validation logic of objects and collections. Additionally, it includes some functions for batch task processing.
48
+
49
+
### Validation Module
50
+
51
+
+**Rich Validation Rules**: The validation module offers a wide range of validation rules, including length checks, regular expression matching, and
52
+
collection size validations. For example, you can easily validate strings for minimum and maximum lengths, and collections for size ranges.
53
+
54
+
+**Annotation-Based Validation**: Supports annotation-based validation. You can use custom annotations to mark fields in classes and perform
55
+
validation operations on objects. For instance, use the @NotNull and @Pattern annotations to validate user-defined objects.
56
+
57
+
+**Collection Validation**: Provides specific validation capabilities for collections. You can set validation rules for the entire collection as
58
+
well
59
+
as for each element in the collection.
60
+
61
+
62
+
### Batch Task Processing Module
63
+
64
+
+**Main and Sub-Task Management**: Includes entities such as MainTask and SubTask, and corresponding data access objects (MainTaskDao). It can
65
+
manage
66
+
the status, progress, and related information of main and sub-tasks.
67
+
68
+
+**Task Monitoring and Recovery**: The TaskWatchdog class periodically checks for stuck tasks and attempts to recover them, ensuring the reliability
69
+
of task processing.
70
+
47
71
## Getting Started
48
72
49
73
### Prerequisites
74
+
Make sure you have Java and Maven installed in your development environment.
50
75
51
76
### Installation
52
77
78
+
Clone the repository to your local machine:
79
+
80
+
```bash
81
+
git clone https://github.com/dianpoint/summer.git
82
+
83
+
```
84
+
85
+
Navigate to the project directory and build the project:
0 commit comments