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

com.freya02.botcommands.api.modals.annotations.ModalData Maven / Gradle / Ivy

package com.freya02.botcommands.api.modals.annotations;

import com.freya02.botcommands.api.modals.ModalBuilder;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Specifies that this parameter is supplied by the data sent in {@link ModalBuilder#bindTo(String, Object...)}.
 * 
The data supplied in the method above must be in the same order as the modal handler parameters, and the types must match. * * @see ModalHandler * @see ModalInput */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.PARAMETER}) public @interface ModalData {}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy