code: @Trivial
      Map<String, String> getExecutionProperties(Object task) {
          Map<String, String> execProps = task instanceof ManagedTask ? ((ManagedTask) task).getExecutionProperties() : null;
          if (execProps == null)
              execProps = defaultExecProps;
          else {
              Map<String, String> mergedProps = new TreeMap<String, String>(defaultExecProps);
              mergedProps.putAll(execProps);
              execProps = mergedProps;
          }
          return execProps;
      }
docs: Returns the execution properties for the specified task.
  
  @param task Callable or Runnable which might or might not implement ManagedTask.
  @return the execution properties for the specified task.