Bug 516292 - Job.createSystem should have a version with IJobFunction

Change-Id: I7bbe50563a934d8f626d9f2c73b2b8bce282aa6c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
diff --git a/bundles/org.eclipse.core.jobs/META-INF/MANIFEST.MF b/bundles/org.eclipse.core.jobs/META-INF/MANIFEST.MF
index f080b5d..d05cfe8 100644
--- a/bundles/org.eclipse.core.jobs/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.core.jobs/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: org.eclipse.core.jobs; singleton:=true
-Bundle-Version: 3.9.200.qualifier
+Bundle-Version: 3.10.0.qualifier
 Bundle-Vendor: %providerName
 Bundle-Localization: plugin
 Export-Package: org.eclipse.core.internal.jobs;x-internal:=true,
diff --git a/bundles/org.eclipse.core.jobs/pom.xml b/bundles/org.eclipse.core.jobs/pom.xml
index 52e7e6b..9e74020 100644
--- a/bundles/org.eclipse.core.jobs/pom.xml
+++ b/bundles/org.eclipse.core.jobs/pom.xml
@@ -20,7 +20,7 @@
   </parent>
   <groupId>org.eclipse.core</groupId>
   <artifactId>org.eclipse.core.jobs</artifactId>
-  <version>3.9.200-SNAPSHOT</version>
+  <version>3.10.0-SNAPSHOT</version>
   <packaging>eclipse-plugin</packaging>
   <properties>
     <code.ignoredWarnings>-warn:-deprecation,raw,unchecked</code.ignoredWarnings>
diff --git a/bundles/org.eclipse.core.jobs/src/org/eclipse/core/runtime/jobs/Job.java b/bundles/org.eclipse.core.jobs/src/org/eclipse/core/runtime/jobs/Job.java
index 1fe7077..e432c1e 100644
--- a/bundles/org.eclipse.core.jobs/src/org/eclipse/core/runtime/jobs/Job.java
+++ b/bundles/org.eclipse.core.jobs/src/org/eclipse/core/runtime/jobs/Job.java
@@ -190,6 +190,25 @@
 	}
 
 	/**
+	 * Creates a new system {@link Job} with the given name that will execute the
+	 * provided function when it runs.
+	 *
+	 * @param name
+	 *            the name of the job
+	 * @param function
+	 *            The function to execute
+	 * @return a job that encapsulates the provided function
+	 * @see IJobFunction
+	 * @see Job#setSystem(boolean)
+	 * @since 3.10
+	 */
+	public static Job createSystem(String name, final IJobFunction function) {
+		Job job = create(name, function);
+		job.setSystem(true);
+		return job;
+	}
+
+	/**
 	 * Creates a new system {@link Job} with the given name that will execute
 	 * the provided runnable when it runs.
 	 *