class ContentStore extends Store {

  private Content content = Content.PRODUCTS;

  @Override
  public void onAction(Action action) {<FILL_FUNCTION_BODY>}

  public Content getContent() {
    return content;
  }
}

    if (action.getType().equals(ActionType.CONTENT_CHANGED)) {
      var contentAction = (ContentAction) action;
      content = contentAction.getContent();
      notifyChange();
    }
  
<methods>public non-sealed void <init>() ,public abstract void onAction(com.iluwatar.flux.action.Action) ,public void registerView(com.iluwatar.flux.view.View) <variables>private final List<com.iluwatar.flux.view.View> views