Package configurationslicing.logrotator
Class LogRotationSlicer.LogRotationDaysSliceSpec
- java.lang.Object
-
- configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
- configurationslicing.logrotator.LogRotationSlicer.AbstractLogRotationSliceSpec
-
- configurationslicing.logrotator.LogRotationSlicer.LogRotationDaysSliceSpec
-
- Enclosing class:
- LogRotationSlicer
public static class LogRotationSlicer.LogRotationDaysSliceSpec extends LogRotationSlicer.AbstractLogRotationSliceSpec
-
-
Constructor Summary
Constructors Constructor Description LogRotationDaysSliceSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getNewDays(int oldDays, int newValue)
protected String
getValue(LogRotator rotator)
-
Methods inherited from class configurationslicing.logrotator.LogRotationSlicer.AbstractLogRotationSliceSpec
getDefaultValueString, getName, getName, getNewArtifactBuilds, getNewArtifactDays, getNewBuilds, getUrl, getValues, getWorkDomain, setValues
-
Methods inherited from class configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec
getCommonValueStrings, getConfiguredValueDescription, getValueIndex, getValueIndex, isBlankNeededForValues, isIndexUsed, isValueTrimmed
-
-
-
-
Method Detail
-
getValue
protected String getValue(LogRotator rotator)
- Specified by:
getValue
in classLogRotationSlicer.AbstractLogRotationSliceSpec
-
getNewDays
protected int getNewDays(int oldDays, int newValue)
- Overrides:
getNewDays
in classLogRotationSlicer.AbstractLogRotationSliceSpec
-
-