Package configurationslicing.logrotator
Class LogRotationSlicer.LogRotationBuildsSliceSpec
- java.lang.Object
-
- configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
- configurationslicing.logrotator.LogRotationSlicer.AbstractLogRotationSliceSpec
-
- configurationslicing.logrotator.LogRotationSlicer.LogRotationBuildsSliceSpec
-
- Enclosing class:
- LogRotationSlicer
public static class LogRotationSlicer.LogRotationBuildsSliceSpec extends LogRotationSlicer.AbstractLogRotationSliceSpec
-
-
Constructor Summary
Constructors Constructor Description LogRotationBuildsSliceSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getNewBuilds(int oldBuilds, int newValue)
protected String
getValue(LogRotator rotator)
-
Methods inherited from class configurationslicing.logrotator.LogRotationSlicer.AbstractLogRotationSliceSpec
getDefaultValueString, getName, getName, getNewArtifactBuilds, getNewArtifactDays, getNewDays, 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
-
getNewBuilds
protected int getNewBuilds(int oldBuilds, int newValue)
- Overrides:
getNewBuilds
in classLogRotationSlicer.AbstractLogRotationSliceSpec
-
-