Package echo.parameter
Class PluginParametersBuilder
java.lang.Object
echo.parameter.PluginParametersBuilder
Creates a PluginParameter instance using the Builder pattern
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private File
private boolean
private String
private boolean
private String
private OutputLevelType
private LineSeparator
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds the PluginParameters instancesetDebug
(boolean characterOutput) Set message content debug flag for pluginSets file output for pluginsetFormatting
(String encoding, String lineSeparatorString) Sets message formatting for pluginSets message level fro pluginsetMessage
(String message, String fromFile) Sets input to plugin, either from message or file
-
Field Details
-
message
-
fromFile
-
basePath
-
toFile
-
appendToFile
private boolean appendToFile -
force
private boolean force -
level
-
encoding
-
lineSeparator
-
characterOutput
private boolean characterOutput
-
-
Constructor Details
-
PluginParametersBuilder
public PluginParametersBuilder()
-
-
Method Details
-
setMessage
Sets input to plugin, either from message or file -
setFile
public PluginParametersBuilder setFile(File basePath, String toFile, boolean appendToFile, boolean force) Sets file output for plugin -
setLevel
Sets message level fro plugin -
setFormatting
Sets message formatting for plugin -
setDebug
Set message content debug flag for plugin -
createPluginParameters
Builds the PluginParameters instance
-