public class ActivationStateLogger extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ActivationStateLogger.IFormatingStrategy |
Modifier and Type | Method and Description |
---|---|
ActivationStateLogger.IFormatingStrategy |
getFormatingStrategy() |
static ActivationStateLogger |
getInstance() |
int |
getLongestName() |
Set<AbstractStage> |
getStages() |
void |
logToFile() |
void |
logToFile(File file) |
void |
logToFile(String path) |
void |
logToFile(String path,
String filename) |
void |
register(AbstractStage stage)
Any stage can register itself here.
|
void |
setFormatingStrategy(ActivationStateLogger.IFormatingStrategy formatingStrategy) |
void |
setLongestName(int longestName) |
String |
toString() |
public static ActivationStateLogger getInstance()
public void register(AbstractStage stage)
stage
- Stage to be registered.public void logToFile() throws UnsupportedEncodingException, FileNotFoundException
public void logToFile(String path) throws UnsupportedEncodingException, FileNotFoundException
public void logToFile(String path, String filename) throws UnsupportedEncodingException, FileNotFoundException
public void logToFile(File file) throws UnsupportedEncodingException, FileNotFoundException
public Set<AbstractStage> getStages()
public int getLongestName()
public void setLongestName(int longestName)
public ActivationStateLogger.IFormatingStrategy getFormatingStrategy()
public void setFormatingStrategy(ActivationStateLogger.IFormatingStrategy formatingStrategy)
Copyright © 2015–2020. All rights reserved.