Package com.gurock.smartinspect
Class FileRotate
- java.lang.Object
-
- com.gurock.smartinspect.Enum
-
- com.gurock.smartinspect.FileRotate
-
public class FileRotate extends Enum
Specifies the log rotate mode for the FileProtocol class and derived classes.
-
-
Field Summary
Fields Modifier and Type Field Description static FileRotateDailyInstructs the file protocol to rotate log files daily.static FileRotateHourlyInstructs the file protocol to rotate log files hourly.static FileRotateMonthlyInstructs the file protocol to rotate log files monthly.static FileRotateNoneCompletely disables the log rotate functionality.static FileRotateWeeklyInstructs the file protocol to rotate log files weekly.
-
-
-
Field Detail
-
None
public static final FileRotate None
Completely disables the log rotate functionality.
-
Hourly
public static final FileRotate Hourly
Instructs the file protocol to rotate log files hourly.
-
Daily
public static final FileRotate Daily
Instructs the file protocol to rotate log files daily.
-
Weekly
public static final FileRotate Weekly
Instructs the file protocol to rotate log files weekly.
-
Monthly
public static final FileRotate Monthly
Instructs the file protocol to rotate log files monthly.
-
-