Author: gnodet
Date: Mon Mar 21 16:54:15 2016
New Revision: 1736005
URL: http://svn.apache.org/viewvc?rev=1736005&view=rev
Log:
Add a bit of javadoc
Modified:
felix/trunk/gogo/runtime/src/main/java/org/apache/felix/service/command/CommandSession.java
Modified:
felix/trunk/gogo/runtime/src/main/java/org/apache/felix/service/command/CommandSession.java
URL:
http://svn.apache.org/viewvc/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/service/command/CommandSession.java?rev=1736005&r1=1736004&r2=1736005&view=diff
==============================================================================
---
felix/trunk/gogo/runtime/src/main/java/org/apache/felix/service/command/CommandSession.java
(original)
+++
felix/trunk/gogo/runtime/src/main/java/org/apache/felix/service/command/CommandSession.java
Mon Mar 21 16:54:15 2016
@@ -103,12 +103,28 @@ public interface CommandSession
Object convert(Class<?> type, Object instance);
+ //
+ // Job support
+ //
+
+ /**
+ * List jobs. Always return a non-null list.
+ */
List<Job> jobs();
+ /**
+ * Get the job running in the current thead or null.
+ */
Job currentJob();
+ /**
+ * Get the current foreground job or null.
+ */
Job foregroundJob();
+ /**
+ * Set the job listener for this session.
+ */
void setJobListener(JobListener listener);
}