Skip to content

Commit

Permalink
change comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhou6ang committed Aug 11, 2017
1 parent 31d41b6 commit dfc4e51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ Installation
<dependency>
<groupId>com.github.zhou6ang.framework</groupId>
<artifactId>bit-statemachine</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
```

Note
=========
### 1. @Condition and @State are mandatory, @Action is optional.
### 1. @Condition and @State are mandatory annotation, @Action is optional annotation.
### 2. Fields "name", "from" and "to" is mandatory for @Condition, default value of field "name" for @Condition is method name in class.
### 3. Field "value" is mandatory for @State, default value of field "value" for @State is method name in class.
### 4. All of method that used annotation's: parameter type should be Object type and size can 0 or 1; return type only can choose one of void and Object.
### 4. All of method that used annotation's: parameter type should be Object type and size can 0 or 1; return type only can choose one of void and Object.

Tutorial
=========
Expand Down Expand Up @@ -98,7 +98,7 @@ Program entry:
public class DemoMain {

public static void main(String[] args) throws IOException {
StateMachineApp.registry(DemoMain.class);
StateMachineApp.registryAndStart(DemoMain.class, args);
}

}
Expand Down

0 comments on commit dfc4e51

Please sign in to comment.