]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.server/src/org/simantics/document/server/serverResponse/DelayedResponse.java
Do not override jersey in p2.site pom.xml as release/1.43.0 is jdk8
[simantics/platform.git] / bundles / org.simantics.document.server / src / org / simantics / document / server / serverResponse / DelayedResponse.java
1 package org.simantics.document.server.serverResponse;
2
3
4
5 /**
6  * Remember to notify() DelayedResponse when the eventHandler has run its async jobs 
7  * @author Teemu Lempinen
8  *
9  */
10 public class DelayedResponse extends ServerResponse implements IDelayedResponse {
11
12     private boolean hasRun = false;
13     
14     public DelayedResponse(int code, String message) {
15         super(code, message, null);
16     }
17     
18     public void setHasRun() {
19         this.hasRun = true;
20     }
21
22     @Override
23     public boolean hasRun() {
24         return hasRun;
25     }
26     
27
28 }