Package com.sun.common.util.logging
Interface LoggingConfig
-
- All Known Implementing Classes:
LoggingConfigImpl
@Contract public interface LoggingConfigInterface for Logging Commands- Author:
- Naman Mehta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateZipFile(String sourceDir)voiddeleteLoggingProperties(Map<String,String> properties)voiddeleteLoggingProperties(Map<String,String> properties, String targetConfigName)Map<String,String>getLoggingProperties()Map<String,String>getLoggingProperties(String targetServer)StringsetLoggingProperty(String propertyName, String propertyValue)StringsetLoggingProperty(String propertyName, String propertyValue, String targetServer)Map<String,String>updateLoggingProperties(Map<String,String> properties)Map<String,String>updateLoggingProperties(Map<String,String> properties, String targetServer)
-
-
-
Method Detail
-
setLoggingProperty
String setLoggingProperty(String propertyName, String propertyValue) throws IOException
- Throws:
IOException
-
setLoggingProperty
String setLoggingProperty(String propertyName, String propertyValue, String targetServer) throws IOException
- Throws:
IOException
-
updateLoggingProperties
Map<String,String> updateLoggingProperties(Map<String,String> properties) throws IOException
- Throws:
IOException
-
updateLoggingProperties
Map<String,String> updateLoggingProperties(Map<String,String> properties, String targetServer) throws IOException
- Throws:
IOException
-
getLoggingProperties
Map<String,String> getLoggingProperties(String targetServer) throws IOException
- Throws:
IOException
-
getLoggingProperties
Map<String,String> getLoggingProperties() throws IOException
- Throws:
IOException
-
createZipFile
String createZipFile(String sourceDir) throws IOException
- Throws:
IOException
-
deleteLoggingProperties
void deleteLoggingProperties(Map<String,String> properties, String targetConfigName) throws IOException
- Throws:
IOException
-
deleteLoggingProperties
void deleteLoggingProperties(Map<String,String> properties) throws IOException
- Throws:
IOException
-
-