Package configurationslicing.logrotator
Class LogRotationSlicer.AbstractLogRotationSliceSpec
java.lang.Object
configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
configurationslicing.logrotator.LogRotationSlicer.AbstractLogRotationSliceSpec
- Direct Known Subclasses:
LogRotationSlicer.ArtifactBuildsSliceSpec
,LogRotationSlicer.ArtifactDaysSliceSpec
,LogRotationSlicer.LogRotationBuildsSliceSpec
,LogRotationSlicer.LogRotationDaysSliceSpec
- Enclosing class:
- LogRotationSlicer
protected abstract static class LogRotationSlicer.AbstractLogRotationSliceSpec
extends UnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
protected int
getNewArtifactBuilds
(int oldValue, int newValue) protected int
getNewArtifactDays
(int oldValue, int newValue) protected int
getNewBuilds
(int oldBuilds, int newValue) protected int
getNewDays
(int oldDays, int newValue) getUrl()
protected abstract String
getValue
(LogRotator rotator) boolean
Methods inherited from class configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec
getCommonValueStrings, getConfiguredValueDescription, getValueIndex, getValueIndex, isBlankNeededForValues, isIndexUsed, isValueTrimmed
-
Constructor Details
-
AbstractLogRotationSliceSpec
-
-
Method Details
-
getName
- Specified by:
getName
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getUrl
- Specified by:
getUrl
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getDefaultValueString
- Specified by:
getDefaultValueString
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getName
- Specified by:
getName
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getValues
- Specified by:
getValues
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getValue
-
getWorkDomain
- Specified by:
getWorkDomain
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
setValues
- Specified by:
setValues
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getNewDays
protected int getNewDays(int oldDays, int newValue) -
getNewBuilds
protected int getNewBuilds(int oldBuilds, int newValue) -
getNewArtifactDays
protected int getNewArtifactDays(int oldValue, int newValue) -
getNewArtifactBuilds
protected int getNewArtifactBuilds(int oldValue, int newValue)
-