Package configurationslicing.timer
Class AbstractTimerSliceSpec
- java.lang.Object
-
- configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
- configurationslicing.timer.AbstractTimerSliceSpec
-
- Direct Known Subclasses:
SCMTimerSliceStringSlicer.SCMTimerSliceSpec
,TimerSliceStringSlicer.TimerSliceSpec
public abstract class AbstractTimerSliceSpec extends UnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTimerSliceSpec(Class triggerClass)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getDefaultValueString()
String
getName(Job item)
Class
getTriggerClass()
List<String>
getValues(Job item)
static List<String>
getValues(Trigger trigger)
List<Job>
getWorkDomain()
static String
joinChronSpec(List<String> lines)
abstract Trigger
newTrigger(String spec, Trigger oldTrigger)
boolean
setValues(Job item, List<String> set)
static List<String>
splitChronSpec(String spec)
Will both split and normalize, then return one spec per string, with comments above.-
Methods inherited from class configurationslicing.UnorderedStringSlicer.UnorderedStringSlicerSpec
getCommonValueStrings, getConfiguredValueDescription, getName, getUrl, getValueIndex, getValueIndex, isBlankNeededForValues, isIndexUsed, isValueTrimmed
-
-
-
-
Field Detail
-
DISABLED
public static final String DISABLED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractTimerSliceSpec
protected AbstractTimerSliceSpec(Class triggerClass)
-
-
Method Detail
-
getDefaultValueString
public String getDefaultValueString()
- Specified by:
getDefaultValueString
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getTriggerClass
public Class getTriggerClass()
-
getName
public String getName(Job item)
- Specified by:
getName
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getValues
public List<String> getValues(Job item)
- Specified by:
getValues
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
getWorkDomain
public List<Job> getWorkDomain()
- Specified by:
getWorkDomain
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
newTrigger
public abstract Trigger newTrigger(String spec, Trigger oldTrigger) throws ANTLRException
- Throws:
ANTLRException
-
setValues
public boolean setValues(Job item, List<String> set)
- Specified by:
setValues
in classUnorderedStringSlicer.UnorderedStringSlicerSpec<Job>
-
splitChronSpec
public static List<String> splitChronSpec(String spec)
Will both split and normalize, then return one spec per string, with comments above.
-
-