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.
package org.asteriskjava.manager;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import org.asteriskjava.manager.response.ManagerResponse;
/**
* 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();
}