Package configurationslicing
Class SlicerLoader<T,I>
- java.lang.Object
-
- configurationslicing.SlicerLoader<T,I>
-
- All Implemented Interfaces:
Slicer<T,I>
,ExtensionPoint
,Comparable<Slicer<T,I>>
- Direct Known Subclasses:
ExecuteJythonSlicerWrapper
,ExecutePythonSlicerWrapper
,GradleSlicerWrapper
,GroovySlicerWrapper
,PrioritySorterSlicerWrapper
public abstract class SlicerLoader<T,I> extends Object implements Slicer<T,I>
Handles the problem with Slicers that have class loading issues.- Author:
- jacob
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SlicerLoader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UnorderedStringSlice<I>
accumulate(UnorderedStringSlice<I> t, I i)
protected abstract Slicer<T,I>
buildDelegateOnConstruction()
int
compareTo(Slicer<UnorderedStringSlice<I>,I> o)
Slicer<T,I>
getDelegate()
T
getInitialAccumulator()
String
getName()
String
getUrl()
List<I>
getWorkDomain()
boolean
isLoaded()
This method makes it easy to provide "optional" slicers that will only show up if that plugin is installed.boolean
transform(UnorderedStringSlice<I> t, I i)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface configurationslicing.Slicer
accumulate, transform
-
-
-
-
Method Detail
-
buildDelegateOnConstruction
protected abstract Slicer<T,I> buildDelegateOnConstruction() throws Throwable
- Throws:
Throwable
-
isLoaded
public boolean isLoaded()
Description copied from interface:Slicer
This method makes it easy to provide "optional" slicers that will only show up if that plugin is installed.
-
compareTo
public int compareTo(Slicer<UnorderedStringSlice<I>,I> o)
-
getInitialAccumulator
public T getInitialAccumulator()
- Specified by:
getInitialAccumulator
in interfaceSlicer<T,I>
-
accumulate
public UnorderedStringSlice<I> accumulate(UnorderedStringSlice<I> t, I i)
-
transform
public boolean transform(UnorderedStringSlice<I> t, I i)
-
-