blob: 2c9bba1f1a02e2ac4dd0c0886f81a4caf899f34b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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 {
String hook();
AsyncType async() default AsyncType.NEVER;
enum AsyncType {
NEVER, ALWAYS;
}
}
|