Modifier and Type | Field and Description |
---|---|
protected EventManager |
eventManager
The event manager to use
|
protected String |
fileDirectory
The directory in which the file being processed lives.
|
protected BasicCommand |
logCommand |
protected LogInformation |
logInfo
The log object that is currently being built
|
protected LogInformation.Revision |
revision |
Constructor and Description |
---|
LogBuilder(EventManager eventMan,
BasicCommand command) |
Modifier and Type | Method and Description |
---|---|
protected File |
createFile(String fileName) |
void |
outputDone() |
void |
parseEnhancedMessage(String key,
Object value) |
void |
parseLine(String line,
boolean isErrorMessage) |
protected EventManager eventManager
protected BasicCommand logCommand
protected LogInformation logInfo
protected LogInformation.Revision revision
protected String fileDirectory
public LogBuilder(EventManager eventMan, BasicCommand command)
public void outputDone()
outputDone
in interface Builder
public void parseLine(String line, boolean isErrorMessage)
protected File createFile(String fileName)
fileName
- relative URL-path to command execution directorypublic void parseEnhancedMessage(String key, Object value)
parseEnhancedMessage
in interface Builder
Copyright © 2016. All rights reserved.