Apache Struts 2 Documentation > Home > Guides > Contributors Guide > Requirements > Use Cases > Create Action |
Goal | Create Action | |
---|---|---|
Level | User Goal | (User Goal, Summary, Subfunction) |
Trigger | Use Case | |
Primary Actor | Developer |
Step | Action | |
---|---|---|
1 | Create class that implements Action interface. | |
2 | Implement execute method to realize the Action's goal. | |
3 | Define other methods as needed. | |
4 | Define Mapping to invoke Action. |
Step | Branching Action |
---|---|
1a | Utilize base class |
.1 | Create class that extends ActionSupport class (or equivalent). |
Preconditions | |
---|---|
Minimal Guarantees | |
Success Guarantees |
Stakeholder | Interest |
---|---|
Step | Variation |
---|---|