Class UnorderedStringSlicer.UnorderedStringSlicerSpec<I>

    • Constructor Detail

      • UnorderedStringSlicerSpec

        public UnorderedStringSlicerSpec()
    • Method Detail

      • getName

        public abstract String getName()
      • getUrl

        public abstract String getUrl()
      • getWorkDomain

        public abstract List<I> getWorkDomain()
      • getValues

        public abstract List<String> getValues​(I item)
      • getName

        public abstract String getName​(I item)
      • setValues

        public abstract boolean setValues​(I item,
                                          List<String> set)
      • 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
      • getValueIndex

        public String getValueIndex​(I item,
                                    int index)
      • getValueIndex

        public int getValueIndex​(I item,
                                 String indexName)
      • 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