public class LogMessageSearcher extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MESSAGE_KEYWORD |
Constructor and Description |
---|
LogMessageSearcher(hudson.model.AbstractBuild build) |
Modifier and Type | Method and Description |
---|---|
static String |
getMessagePrefix() |
static void |
logMessage(hudson.model.BuildListener listener,
String message)
Logs a message that is later findable by the searcher part of this class.
|
List<String> |
searchForMessages() |
List<String> |
searchForMessages(String keyword)
Searches build log for messages.
|
public static String DEFAULT_MESSAGE_KEYWORD
public static void logMessage(hudson.model.BuildListener listener, String message)
listener
- message
- public static String getMessagePrefix()
public List<String> searchForMessages() throws IOException
IOException
public List<String> searchForMessages(String keyword) throws IOException
keyword
- Keyword to look for in log.IOException
Copyright © 2004-2015. All Rights Reserved.