mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 09:25:54 +00:00
docs: improve docs and add explanation for flux (#2928)
This commit is contained in:
@@ -24,19 +24,18 @@
|
||||
*/
|
||||
package com.iluwatar.flux.action;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* ContentAction is a concrete action.
|
||||
*/
|
||||
public class ContentAction extends Action {
|
||||
|
||||
@Getter
|
||||
private final Content content;
|
||||
|
||||
public ContentAction(Content content) {
|
||||
super(ActionType.CONTENT_CHANGED);
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public Content getContent() {
|
||||
return content;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user