All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.craft.atom.io.AbstractChannelEvent Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.craft.atom.io;

import lombok.Getter;
import lombok.ToString;

/**
 * Base implementation class for common concept of channel event.
 * 
 * @author mindwind
 * @version 1.0, Feb 26, 2013
 */
@ToString(of = "type")
abstract public class AbstractChannelEvent {
	
	@Getter protected final ChannelEventType type;
	
	public AbstractChannelEvent(ChannelEventType type) {
		if (type == null) {
            throw new IllegalArgumentException("type == null");
        }
		this.type = type;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy