SLING-11831 - Allow setting job properties for custom job state
diff --git a/src/main/java/org/apache/sling/event/jobs/consumer/JobExecutionContext.java b/src/main/java/org/apache/sling/event/jobs/consumer/JobExecutionContext.java
index 9370922..5f04d9a 100644
--- a/src/main/java/org/apache/sling/event/jobs/consumer/JobExecutionContext.java
+++ b/src/main/java/org/apache/sling/event/jobs/consumer/JobExecutionContext.java
@@ -86,6 +86,13 @@
void updateProgress(long eta);
/**
+ * Sets a property on the job. This property can be retrieved using {@link org.apache.sling.event.jobs.Job#getProperty(String)}.
+ * @param name The property name
+ * @param value The property value
+ */
+ void setProperty(String name, Object value);
+
+ /**
* Log a message.
* A job consumer can use this method during job processing to add additional information
* about the current state of job processing.