You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by gn...@apache.org on 2016/03/21 17:54:15 UTC
svn commit: r1736005 -
/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/service/command/CommandSession.java
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);
}