Package es.urjc.etsii.grafo.config
Class ErrorConfig
java.lang.Object
es.urjc.etsii.grafo.config.ErrorConfig
This class is used to configure the behaviour on error using the properties specified in the application.yml
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhere should serialized errors be stored?booleanExport errors to file?voidsetErrorsToFile(boolean errorsToFile) Export errors to file?voidWhere should serialized errors be stored?
-
Constructor Details
-
ErrorConfig
public ErrorConfig()
-
-
Method Details
-
isErrorsToFile
public boolean isErrorsToFile()Export errors to file?- Returns:
- True to export, false to skip
-
setErrorsToFile
public void setErrorsToFile(boolean errorsToFile) Export errors to file?- Parameters:
errorsToFile- True to export, false to skip
-
getFolder
Where should serialized errors be stored?- Returns:
- path as string
-
setFolder
Where should serialized errors be stored?- Parameters:
folder- path as string
-