Package adalid.commons.velocity
Class Writer
- java.lang.Object
-
- adalid.commons.velocity.Writer
-
public class Writer extends Object
- Author:
- Jorge Campins
-
-
Method Summary
-
-
-
Method Detail
-
getAlertLevel
public static org.apache.log4j.Level getAlertLevel()
- Returns:
- the alert messages logging level
-
setAlertLevel
public static void setAlertLevel(org.apache.log4j.Level level)
- Parameters:
level- the alert messages logging level to set; WARN will be used if level is null; ERROR and FATAL are downgraded to WARN; OFF disables alert messages logging
-
getDetailLevel
public static org.apache.log4j.Level getDetailLevel()
- Returns:
- the detail messages logging level
-
setDetailLevel
public static void setDetailLevel(org.apache.log4j.Level level)
- Parameters:
level- the detail messages logging level to set; TRACE will be used if level is null; WARN, ERROR and FATAL are downgraded to INFO; OFF disables detail messages logging
-
getTrackingLevel
public static org.apache.log4j.Level getTrackingLevel()
- Returns:
- the tracking messages logging level
-
setTrackingLevel
public static void setTrackingLevel(org.apache.log4j.Level level)
- Parameters:
level- the tracking messages logging level to set; TRACE will be used if level is null; WARN, ERROR and FATAL are downgraded to INFO; OFF disables tracking messages logging
-
getAlertLoggingLevel
public static LoggingLevel getAlertLoggingLevel()
- Returns:
- the alert messages logging logginglevel
-
setAlertLoggingLevel
public static void setAlertLoggingLevel(LoggingLevel logginglevel)
- Parameters:
logginglevel- the alert messages logging logginglevel to set; WARN will be used if logginglevel is null; ERROR and FATAL are downgraded to WARN; OFF disables alert messages logging
-
getDetailLoggingLevel
public static LoggingLevel getDetailLoggingLevel()
- Returns:
- the detail messages logging logginglevel
-
setDetailLoggingLevel
public static void setDetailLoggingLevel(LoggingLevel logginglevel)
- Parameters:
logginglevel- the detail messages logging logginglevel to set; TRACE will be used if logginglevel is null; WARN, ERROR and FATAL are downgraded to INFO; OFF disables detail messages logging
-
getTrackingLoggingLevel
public static LoggingLevel getTrackingLoggingLevel()
- Returns:
- the tracking messages logging logginglevel
-
setTrackingLoggingLevel
public static void setTrackingLoggingLevel(LoggingLevel logginglevel)
- Parameters:
logginglevel- the tracking messages logging logginglevel to set; TRACE will be used if logginglevel is null; WARN, ERROR and FATAL are downgraded to INFO; OFF disables tracking messages logging
-
getSubject
public Object getSubject()
- Returns:
- the subject
-
getSubjectKey
public String getSubjectKey()
- Returns:
- the subject key
-
setFilePreservationPatterns
public void setFilePreservationPatterns(List<Pattern> filePreservationPatterns)
-
setAvailableResourceNames
public void setAvailableResourceNames(Set<String> availableResourceNames)
-
write
public boolean write(String platform)
-
increaseWarningCount
public void increaseWarningCount()
-
increaseWarningCount
public void increaseWarningCount(int count)
-
increaseErrorCount
public void increaseErrorCount()
-
increaseErrorCount
public void increaseErrorCount(int count)
-
-