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>
public abstract static class UnorderedStringSlicer.UnorderedStringSlicerSpec<I> extends Object
-
-
Constructor Summary
Constructors Constructor Description UnorderedStringSlicerSpec()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<String>
getCommonValueStrings()
Useful when there are common configurations we want to always be available.String
getConfiguredValueDescription()
abstract String
getDefaultValueString()
abstract String
getName()
abstract String
getName(I item)
abstract String
getUrl()
String
getValueIndex(I item, int index)
int
getValueIndex(I item, String indexName)
abstract List<String>
getValues(I item)
abstract List<I>
getWorkDomain()
boolean
isBlankNeededForValues()
boolean
isIndexUsed(int count)
Allows you to use "MyJob[0]" to indicate separate valuesboolean
isValueTrimmed()
Some cases we do not want to trim the value.abstract boolean
setValues(I item, List<String> set)
-
-
-
Method Detail
-
getName
public abstract String getName()
-
getUrl
public abstract String getUrl()
-
getDefaultValueString
public abstract String getDefaultValueString()
-
getCommonValueStrings
public List<String> getCommonValueStrings()
Useful when there are common configurations we want to always be available.
-
getConfiguredValueDescription
public String getConfiguredValueDescription()
-
isIndexUsed
public boolean isIndexUsed(int count)
Allows you to use "MyJob[0]" to indicate separate values
-
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
-
-