module TaskJuggler::MessageHandler

Public Instance Methods

critical(id, message, sourceFileInfo = nil, line = nil, data = nil, scenario = nil) click to toggle source

Generate an critical message.

# File lib/taskjuggler/MessageHandler.rb, line 323
def critical(id, message, sourceFileInfo = nil, line = nil, data = nil,
             scenario = nil)
  MessageHandlerInstance.instance.critical(id, message, sourceFileInfo,
                                           line, data, scenario)
end
debug(id, message, sourceFileInfo = nil, line = nil, data = nil, scenario = nil) click to toggle source

Generate a debug message.

# File lib/taskjuggler/MessageHandler.rb, line 344
def debug(id, message, sourceFileInfo = nil, line = nil, data = nil,
          scenario = nil)
  MessageHandlerInstance.instance.debug(id, message, sourceFileInfo, line,
                                        data, scenario)
end
error(id, message, sourceFileInfo = nil, line = nil, data = nil, scenario = nil) click to toggle source

Generate an error message.

# File lib/taskjuggler/MessageHandler.rb, line 316
def error(id, message, sourceFileInfo = nil, line = nil, data = nil,
          scenario = nil)
  MessageHandlerInstance.instance.error(id, message, sourceFileInfo, line,
                                        data, scenario)
end
fatal(id, message, sourceFileInfo = nil, line = nil, data = nil, scenario = nil) click to toggle source

Generate a fatal message that will abort the application.

# File lib/taskjuggler/MessageHandler.rb, line 309
def fatal(id, message, sourceFileInfo = nil, line = nil, data = nil,
          scenario = nil)
  MessageHandlerInstance.instance.fatal(id, message, sourceFileInfo, line,
                                        data, scenario)
end
info(id, message, sourceFileInfo = nil, line = nil, data = nil, scenario = nil) click to toggle source

Generate an info message.

# File lib/taskjuggler/MessageHandler.rb, line 337
def info(id, message, sourceFileInfo = nil, line = nil, data = nil,
         scenario = nil)
  MessageHandlerInstance.instance.info(id, message, sourceFileInfo, line,
                                       data, scenario)
end
warning(id, message, sourceFileInfo = nil, line = nil, data = nil, scenario = nil) click to toggle source

Generate a warning.

# File lib/taskjuggler/MessageHandler.rb, line 330
def warning(id, message, sourceFileInfo = nil, line = nil, data = nil,
            scenario = nil)
  MessageHandlerInstance.instance.warning(id, message, sourceFileInfo,
                                          line, data, scenario)
end