             } else {
                 throw TasksSchedulerError.TaskGroupNotFound
             }
+        }
+    }
+
+    /**
+     Returns a qualified infos string
+
+     - parameter groupName: the name of the group
+     - parameter document:  the document
+
+     - returns: the informations on the current state of the group.
+     */
+    public func groupInfos(groupName: String, inDocument document: BartlebyDocument) -> String {
+        do {
+            let group = try getTaskGroupWithName(groupName, inDocument: document)
+            return group.toString()
+        } catch {
+         return "Error while attempting to find \(groupName) in \(document.spaceUID) \(error)"
         }
     }
 

    }

}

            group.completionState = Completion.failureState("UnConsistent Tasks Group "+inconsistencyDetails, statusCode: CompletionStatus.Not_Acceptable)
        }

        if let completionState=group.completionState {
            // We call the completion off the group.
            group.handlers.on(completionState)
