com.github.kubatatami.judonetworking.observers.DataObserver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of judonetworking-observers Show documentation
Show all versions of judonetworking-observers Show documentation
Easy way of communicating to your servers.
The newest version!
package com.github.kubatatami.judonetworking.observers;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created with IntelliJ IDEA.
* User: jbogacki
* Date: 27.02.2013
* Time: 16:39
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DataObserver {
String fieldName() default "";
boolean onStartup() default true;
boolean crashable() default true;
Class> observerClass() default Void.class;
}