blob: f9eaf4978e5b4ca9d79c2ee8949629c6cb85165c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package com.nemez.cmdmgr;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Command
{
enum AsyncType
{
NEVER, ALWAYS;
}
String hook();
AsyncType async() default AsyncType.NEVER;
}
|