better EventListener stage 2
This commit is contained in:
parent
0c43e416f5
commit
2e5df94396
6 changed files with 78 additions and 0 deletions
13
src/de/tudbut/tryumph/events/PBody.java
Normal file
13
src/de/tudbut/tryumph/events/PBody.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package de.tudbut.tryumph.events;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface PBody {
|
||||
|
||||
String value();
|
||||
}
|
13
src/de/tudbut/tryumph/events/PCookie.java
Normal file
13
src/de/tudbut/tryumph/events/PCookie.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package de.tudbut.tryumph.events;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface PCookie {
|
||||
|
||||
String value();
|
||||
}
|
13
src/de/tudbut/tryumph/events/PData.java
Normal file
13
src/de/tudbut/tryumph/events/PData.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package de.tudbut.tryumph.events;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface PData {
|
||||
|
||||
String value();
|
||||
}
|
13
src/de/tudbut/tryumph/events/PHeader.java
Normal file
13
src/de/tudbut/tryumph/events/PHeader.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package de.tudbut.tryumph.events;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface PHeader {
|
||||
|
||||
String value();
|
||||
}
|
13
src/de/tudbut/tryumph/events/PPathFragment.java
Normal file
13
src/de/tudbut/tryumph/events/PPathFragment.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package de.tudbut.tryumph.events;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface PPathFragment {
|
||||
|
||||
int value();
|
||||
}
|
13
src/de/tudbut/tryumph/events/PQuery.java
Normal file
13
src/de/tudbut/tryumph/events/PQuery.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package de.tudbut.tryumph.events;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface PQuery {
|
||||
|
||||
String value();
|
||||
}
|
Loading…
Add table
Reference in a new issue