in src/main/java/org/apache/sling/jobs/impl/JobImpl.java [208:223]
private void updateProperties(@NotNull Map<String, Object> properties) {
if ( properties == null ) {
throw new IllegalArgumentException("Properties cant be null.");
}
for (Map.Entry<String, Object> e : properties.entrySet()) {
if (e.getValue() instanceof JobUpdate.JobPropertyAction ) {
switch(((JobUpdate.JobPropertyAction)e.getValue())) {
case REMOVE:
this.properties.remove(e.getKey());
break;
}
} else {
this.properties.put(e.getKey(), e.getValue());
}
}
}