
com.github.edgar615.util.event.EventActionCodec Maven / Gradle / Ivy
package com.github.edgar615.util.event;
import java.util.Map;
/**
* Created by Edgar on 2017/3/22.
*
* @author Edgar Date 2017/3/22
*/
public interface EventActionCodec {
/**
* 解码
*
* @param map
* @return
*/
EventAction decode(Map map);
/**
* 编码
*
* @param action
* @return
*/
Map encode(EventAction action);
String name();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy