mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-17 08:59:12 +00:00
Changed package naming across all examples.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.iluwatar.flux.action;
|
||||
|
||||
/**
|
||||
*
|
||||
* ContentAction is a concrete action.
|
||||
*
|
||||
*/
|
||||
public class ContentAction extends Action {
|
||||
|
||||
private 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