]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.detached/src/main/java/org/argeo/slc/detached/DetachedRequest.java
Allow to refresh a comma separated list of bundles
[gpl/argeo-slc.git] / runtime / org.argeo.slc.detached / src / main / java / org / argeo / slc / detached / DetachedRequest.java
1 package org.argeo.slc.detached;
2
3 import java.util.Properties;
4
5 /** A request sent to the detached server. */
6 public class DetachedRequest implements DetachedCommunication {
7 static final long serialVersionUID = 1l;
8
9 private String uuid;
10 private Properties properties = new Properties();
11 private String ref;
12 private String path = "";
13
14 public DetachedRequest() {
15
16 }
17
18 public DetachedRequest(String uuid) {
19 this.uuid = uuid;
20 }
21
22 /** The properties configuring this request. */
23 public Properties getProperties() {
24 return properties;
25 }
26
27 public void setProperties(Properties inputParameters) {
28 this.properties = inputParameters;
29 }
30
31 /**
32 * A reference to the underlying implementation which will process the
33 * request.
34 */
35 public String getRef() {
36 return ref;
37 }
38
39 public void setRef(String stepRef) {
40 this.ref = stepRef;
41 }
42
43 /** A path identifying the request within its source context. */
44 public String getPath() {
45 return path;
46 }
47
48 public void setPath(String path) {
49 this.path = path;
50 }
51
52 /** The unique identifier of this request. */
53 public String getUuid() {
54 return uuid;
55 }
56
57 public void setUuid(String uuid) {
58 this.uuid = uuid;
59 }
60
61 public String toString() {
62 StringBuffer buf = new StringBuffer(getClass().getName());
63 buf.append('#').append(uuid);
64 buf.append(" ref=").append(ref);
65 buf.append(" path=").append(path);
66 buf.append(" properties=").append(properties);
67 return buf.toString();
68 }
69 }