com.byoutline.eventcallback.internal.actions.CreateEvents Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eventcallback Show documentation
Show all versions of eventcallback Show documentation
Retrofit callbacks with simpler and shorter syntax.
The newest version!
package com.byoutline.eventcallback.internal.actions;
import com.byoutline.eventcallback.EventCallback;
import org.apache.commons.lang3.Validate;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnull;
/**
* Stores events that can be invoked on {@link EventCallback} creation.
*
* @author Sebastian Kacprzak
*/
public class CreateEvents {
public final List events;
public CreateEvents() {
this(new ArrayList