Author: cziegeler
Date: Wed Jul 24 08:04:58 2013
New Revision: 1506433

URL: http://svn.apache.org/r1506433
Log:
Update javadocs

Modified:
    
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java

Modified: 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java?rev=1506433&r1=1506432&r2=1506433&view=diff
==============================================================================
--- 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java
 (original)
+++ 
sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/jobs/JobManager.java
 Wed Jul 24 08:04:58 2013
@@ -147,7 +147,9 @@ public interface JobManager {
     /**
      * Add a new job
      *
-     * If the topic is missing or illegal, no job is created and 
<code>null</code> is returned.
+     * If the topic is <code>null</code> or illegal, no job is created and 
<code>null</code> is returned.
+     * A job topic is a hierarchical name separated by dashes, each part has 
to start with a letter,
+     * allowed characters are letters, numbers and the underscore.
      *
      * @param topic The required job topic.
      * @param properties Optional job properties
@@ -159,7 +161,10 @@ public interface JobManager {
     /**
      * Add a new job
      *
-     * If the topic is missing or illegal, no job is created and 
<code>null</code> is returned.
+     * If the topic is <code>null</code> or illegal, no job is created and 
<code>null</code> is returned.
+     * A job topic is a hierarchical name separated by dashes, each part has 
to start with a letter,
+     * allowed characters are letters, numbers and the underscore.
+     *
      * This method allows to specify a job name which should uniquely identify 
this job. If a job with
      * the same name is started on different instances, the job is still 
processed only once. However,
      * the topology api in combination with the leader selection provides a 
better way for


Reply via email to