Package org.apache.log4j.chainsaw
Class ReceiverConfigurationPanel.PanelModel
java.lang.Object
org.apache.log4j.chainsaw.ReceiverConfigurationPanel.PanelModel
- Enclosing class:
- ReceiverConfigurationPanel
This class represents the model of the chosen options the user
has configured.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) URL
(package private) URL
(package private) URL
(package private) String
(package private) String
(package private) int
(package private) File
boolean
(package private) boolean
(package private) boolean
(package private) boolean
(package private) boolean
(package private) boolean
void
setCancelled
(boolean cancelled) void
setLogFormat
(String lastLogFormat) (package private) void
setSaveConfigFile
(File file)
-
Field Details
-
file
-
cancelled
private boolean cancelled -
lastLogFormat
-
saveConfigFile
-
-
Constructor Details
-
PanelModel
public PanelModel()
-
-
Method Details
-
isNetworkReceiverMode
boolean isNetworkReceiverMode() -
getNetworkReceiverPort
int getNetworkReceiverPort() -
getNetworkReceiverClass
- Throws:
ClassNotFoundException
-
isLoadConfig
boolean isLoadConfig() -
isLogFileReceiverConfig
boolean isLogFileReceiverConfig() -
isLog4jConfig
boolean isLog4jConfig() -
getConfigToLoad
URL getConfigToLoad() -
getDefaultConfigFileURL
URL getDefaultConfigFileURL() -
getSaveConfigFile
File getSaveConfigFile() -
setSaveConfigFile
-
getLogFileURL
URL getLogFileURL() -
getLogFormat
String getLogFormat() -
isPatternLayoutLogFormat
boolean isPatternLayoutLogFormat() -
getLogFormatTimestampFormat
String getLogFormatTimestampFormat() -
setCancelled
public void setCancelled(boolean cancelled) -
setLogFormat
-
isCancelled
public boolean isCancelled() -
getLog4jConfigFile
-