Package configurationslicing.project
Class AbstractSimpleProjectSlicer.AbstractSimpleProjectSliceSpec
- java.lang.Object
-
- configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec<AbstractProject>
-
- configurationslicing.project.AbstractSimpleProjectSlicer.AbstractSimpleProjectSliceSpec
-
- Direct Known Subclasses:
CustomWorkspaceStringSlicer.CustomWorkspaceStringSliceSpec
,QuietPeriodSlicer.QuietPeriodSliceSpec
- Enclosing class:
- AbstractSimpleProjectSlicer
public abstract static class AbstractSimpleProjectSlicer.AbstractSimpleProjectSliceSpec extends UnorderedStringSlicer.UnorderedStringSlicerSpec<AbstractProject>
-
-
Constructor Summary
Constructors Constructor Description AbstractSimpleProjectSliceSpec()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getDefaultValueString()
String
getName(AbstractProject item)
protected abstract String
getValue(AbstractProject project)
List<String>
getValues(AbstractProject item)
List<AbstractProject>
getWorkDomain()
protected Class<? extends Item>
getWorkDomainClass()
Override if needed.protected abstract void
setValue(AbstractProject project, String value)
boolean
setValues(AbstractProject item, List<String> set)
-
Methods inherited from class configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec
getCommonValueStrings, getConfiguredValueDescription, getName, getUrl, getValueIndex, getValueIndex, isBlankNeededForValues, isIndexUsed, isValueTrimmed
-
-
-
-
Method Detail
-
getDefaultValueString
public String getDefaultValueString()
- Specified by:
getDefaultValueString
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<AbstractProject>
-
getName
public String getName(AbstractProject item)
- Specified by:
getName
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<AbstractProject>
-
getValues
public List<String> getValues(AbstractProject item)
- Specified by:
getValues
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<AbstractProject>
-
getValue
protected abstract String getValue(AbstractProject project)
-
getWorkDomain
public List<AbstractProject> getWorkDomain()
- Specified by:
getWorkDomain
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<AbstractProject>
-
setValues
public boolean setValues(AbstractProject item, List<String> set)
- Specified by:
setValues
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<AbstractProject>
-
setValue
protected abstract void setValue(AbstractProject project, String value) throws IOException
- Throws:
IOException
- for the save operation
-
-