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
+90Lines changed: 90 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,30 @@ Summer is a minimized AOP and IoC kernel toolset. It provides a lightweight and
54
54
-**summer-beans**: Core module for bean management, including bean definition, creation, and dependency injection. It also supports AOP features such as proxy creation and advice execution.
55
55
-**summer-validator**: A validation module that provides various validation rules for collections and objects.
56
56
57
+
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.
58
+
59
+
### Validation Module
60
+
61
+
+**Rich Validation Rules**: The validation module offers a wide range of validation rules, including length checks, regular expression matching, and
62
+
collection size validations. For example, you can easily validate strings for minimum and maximum lengths, and collections for size ranges.
63
+
64
+
+**Annotation-Based Validation**: Supports annotation-based validation. You can use custom annotations to mark fields in classes and perform
65
+
validation operations on objects. For instance, use the @NotNull and @Pattern annotations to validate user-defined objects.
66
+
67
+
+**Collection Validation**: Provides specific validation capabilities for collections. You can set validation rules for the entire collection as
68
+
well
69
+
as for each element in the collection.
70
+
71
+
72
+
### Batch Task Processing Module
73
+
74
+
+**Main and Sub-Task Management**: Includes entities such as MainTask and SubTask, and corresponding data access objects (MainTaskDao). It can
75
+
manage
76
+
the status, progress, and related information of main and sub-tasks.
77
+
78
+
+**Task Monitoring and Recovery**: The TaskWatchdog class periodically checks for stuck tasks and attempts to recover them, ensuring the reliability
79
+
of task processing.
80
+
57
81
## Getting Started
58
82
59
83
### Prerequisites
@@ -70,6 +94,21 @@ cd summer
70
94
71
95
2. Build the project using Maven:
72
96
```shell
97
+
Make sure you have Java and Maven installed in your development environment.
98
+
99
+
### Installation
100
+
101
+
Clone the repository to your local machine:
102
+
103
+
```bash
104
+
git clone https://github.com/dianpoint/summer.git
105
+
106
+
```
107
+
108
+
Navigate to the project directory and build the project:
109
+
110
+
```bash
111
+
cd summer
73
112
mvn clean install
74
113
```
75
114
@@ -221,3 +260,54 @@ Summer is distributed under the Apache License 2.0 License. See License.txt for
221
260
### Contact
222
261
+ Email: congccoder@gmail.com
223
262
+ Github: https://github.com/ccoderJava
263
+
## Usage
264
+
265
+
## Roadmap
266
+
267
+
- [x] xxx
268
+
- [x] xxx
269
+
- [ ] xxx
270
+
- [ ] xxx
271
+
- [ ] xxx
272
+
- [ ] xxx
273
+
274
+
See the [issues](https://github/dianpoint/summer/issues) for a full list of proposed features and known issues.
275
+
276
+
## Contributing
277
+
278
+
## License
279
+
280
+
`Summer` distributed under the [`Apache License 2.0`](https://github.com/dianpoint/summer/blob/main/LICENSE) License.
0 commit comments