Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
starslink
dddplus-17
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
dddplus-17
/
dddplus-spec
/
src
/
main
/
java
/
io
/
github
/
dddplus
/
model
/
IBehavioralRule.java
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
31 lines (29 loc) · 1.23 KB
master
Breadcrumbs
dddplus-17
/
dddplus-spec
/
src
/
main
/
java
/
io
/
github
/
dddplus
/
model
/
IBehavioralRule.java
Copy path
Top
File metadata and controls
Code
Blame
31 lines (29 loc) · 1.23 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Copyright DDDplus Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.github.dddplus.model;
/**
* Behavioral Rule, aim to directly shape people's behavior.
*
* <p>They set boundaries for acceptable behavior.</p >
* <ul>Key features:
* <li>can be violated: 警察局,审判机构,监狱,都是为它可能被破坏而准备的</li>
* <li>confer rights in groups and communities of people</li>
* </ul>
* <p>行为的:指导,约束条件,执行规范</p >
* <ul>行为性规则,通常表现为如下形式:
* <li>must or must not be</li>
* <li>should or should not be</li>
* <li>how to be</li>
* </ul>
* <p>Behavioral rules without {@link IDefinitionalRule} are often vague. Lack of precision means enforcement will be inconsistent or capricious.</p >
* <p>行为性规则,有可以类比的两种类型:{@code hard limit} vs {@code soft limit}.</p >
* <ul>行为性规则的实际例子:
* <li>An order over $1,000 must not be accepted on credit without a credit check</li>
* <li>An order's date promised must be at least 24 hours after the order's date taken</li>
* </ul>
*/
public interface IBehavioralRule extends IRule {
}
You can’t perform that action at this time.