org.asteriskjava.manager.ExpectedResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asterisk-java Show documentation
Show all versions of asterisk-java Show documentation
The free Java library for Asterisk PBX integration.
The newest version!
package org.asteriskjava.manager;
import org.asteriskjava.manager.response.ManagerResponse;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Indicates that an annotated {@link org.asteriskjava.manager.action.ManagerAction} expects
* a specific subclass of {@link org.asteriskjava.manager.response.ManagerResponse} when executed
* successfully.
*
* @since 1.0.0
*/
@Target(TYPE)
@Retention(RUNTIME)
public @interface ExpectedResponse {
Class extends ManagerResponse> value();
}