Package configurationslicing
Class UnorderedStringSlicer.UnorderedStringSlicerSpec<I>
java.lang.Object
configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec<I>
- Direct Known Subclasses:
AbstractBuildCommandSlicer.AbstractBuildCommandSliceSpec
,AbstractEmailSliceSpec
,AbstractSimpleProjectSlicer.AbstractSimpleProjectSliceSpec
,AbstractTimerSliceSpec
,AbstractToolSlicerSpec
,BuildTimeoutSlicer.BuildTimeoutSliceSpec
,ConcurrentBuildsStringSlicer.ConcurrentBuildsStringSliceSpec
,JdkSlicer.JdkSlicerSpec
,JobDisabledStringSlicer.JobDisabledStringSliceSpec
,LabelSlicer.LabelSliceSpec
,LogfilesizecheckerSlicer.LogfilesizeSliceSpec
,LogRotationSlicer.AbstractLogRotationSliceSpec
,MavenGoals.MavenGoalsSlicerSpec
,MavenOptsSlicer.MavenOptsSlicerSpec
,MavenVersionSlicer.MavenVersionSlicerSpec
,ParametersSlicer.ParametersSliceSpec
,ParametersStringSliceSpec
,PipelineScriptSlicer.PipelineScriptSliceSpec
,PrioritySorterSlicer.PrioritySorterSliceSpec
,TimestamperSlicer.TimestamperSliceSpec
- Enclosing class:
- UnorderedStringSlicer<I>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUseful when there are common configurations we want to always be available.abstract String
abstract String
getName()
abstract String
abstract String
getUrl()
getValueIndex
(I item, int index) int
getValueIndex
(I item, String indexName) boolean
boolean
isIndexUsed
(int count) Allows you to use "MyJob[0]" to indicate separate valuesboolean
Some cases we do not want to trim the value.abstract boolean
-
Constructor Details
-
UnorderedStringSlicerSpec
public UnorderedStringSlicerSpec()
-
-
Method Details
-
getName
-
getUrl
-
getWorkDomain
-
getValues
-
getName
-
setValues
-
getDefaultValueString
-
getCommonValueStrings
Useful when there are common configurations we want to always be available. -
getConfiguredValueDescription
-
isIndexUsed
public boolean isIndexUsed(int count) Allows you to use "MyJob[0]" to indicate separate values -
getValueIndex
-
getValueIndex
-
isBlankNeededForValues
public boolean isBlankNeededForValues() -
isValueTrimmed
public boolean isValueTrimmed()Some cases we do not want to trim the value. For example, in Parameters this causes issues. This just requires the user to be more conscientious when configuring parameters.- Returns:
- true always
-