aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/server/protocol/annotation/UserCommand.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-11 11:28:25 +0300
committerGravatar Vitaly Takmazov2016-07-11 11:28:25 +0300
commitec589172a627aee760a07e4830499cebc1943c35 (patch)
treefd1fd11fd3a63365fdb9d1a2b8d393b77d2ccfe2 /juick-www/src/main/java/com/juick/server/protocol/annotation/UserCommand.java
parent3daf98ea8ee13a75fa5819fa90f24a7e095ed769 (diff)
backport tests (WIP)
Diffstat (limited to 'juick-www/src/main/java/com/juick/server/protocol/annotation/UserCommand.java')
-rw-r--r--juick-www/src/main/java/com/juick/server/protocol/annotation/UserCommand.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/juick-www/src/main/java/com/juick/server/protocol/annotation/UserCommand.java b/juick-www/src/main/java/com/juick/server/protocol/annotation/UserCommand.java
deleted file mode 100644
index af7c4924..00000000
--- a/juick-www/src/main/java/com/juick/server/protocol/annotation/UserCommand.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.juick.server.protocol.annotation;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Created by oxpa on 22.03.16.
- */
-@Target({ElementType.TYPE, ElementType.METHOD})
-@Retention(RetentionPolicy.RUNTIME)
-public @interface UserCommand {
- /**
- *
- * @return a command pattern
- */
- String pattern() default "";
-
- /**
- *
- * @return pattern flags
- */
- int patternFlags() default 0;
-
- /**
- *
- * @return a string used in HELP command output. Basically, only 1 string
- */
- String help() default "";
-}