Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Inventory Management

An example to explain COMMAND DESIGN PATTERN in its easiest simplest form.

Here, taking the example of an inventory management system , which requires multiple actions on a product.

The code demonstrate the SRP and Command Pattern usage.

On executing the program , you should see the product details displayed after performing ADD, DELETE and UPDATE action.

Components of COMMAND DESIGN PATTERN -

  1. Command Interface : Action
  2. Concrete class of command interface : AddProduct,UpdateProduct,DeleteProduct
  3. Command Invoker : ProductActionInvoker

This example also covers some unit test classes.

About

Inventory Management example for command design pattern

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages