- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.postprocessing.WrappedPostProcessor<R,F>
-
- All Implemented Interfaces:
java.util.function.Function<R,F>,PostProcessor<R,F>,FullComponentSystemUser,PostProcessorComponent<R,F>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,Initializable
public class WrappedPostProcessor<R extends Result,F extends Result> extends AbstractBaseClass implements PostProcessorComponent<R,F>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWrappedPostProcessor.Builder<R extends Result,F extends Result>
-
Constructor Summary
Constructors Constructor Description WrappedPostProcessor(PostProcessor<R,F> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<R>getInputClass()java.lang.StringgetLabel()java.lang.Class<F>getOutputClass()protected voidinitSelf()Hook for subclasses to initialize themselves after the initial constructor call.FpostProcess(R result)java.lang.StringtoString()-
Methods inherited from class org.processmining.specpp.componenting.system.link.AbstractBaseClass
collectTransitiveSubcomponents, getComponentCollection, getSubComponents, globalComponentSystem, init, localComponentSystem, postSubComponentInit, preSubComponentInit, registerSubComponent, unregisterSubComponent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.componenting.system.FullComponentSystemUser
collectTransitiveSubcomponents, connectLocalComponentSystem, getComponentCollection, registerSubComponent, unregisterSubComponent
-
Methods inherited from interface org.processmining.specpp.traits.Initializable
init
-
Methods inherited from interface org.processmining.specpp.base.PostProcessor
apply
-
Methods inherited from interface org.processmining.specpp.componenting.traits.UsesGlobalComponentSystem
globalComponentSystem
-
Methods inherited from interface org.processmining.specpp.componenting.traits.UsesLocalComponentSystem
bridgeToChildren, localComponentSystem
-
-
-
-
Constructor Detail
-
WrappedPostProcessor
public WrappedPostProcessor(PostProcessor<R,F> delegate)
-
-
Method Detail
-
postProcess
public F postProcess(R result)
- Specified by:
postProcessin interfacePostProcessor<R extends Result,F extends Result>
-
initSelf
protected void initSelf()
Description copied from class:AbstractBaseClassHook for subclasses to initialize themselves after the initial constructor call. At the time this is called, all fulfillable local & global component system requests will be fulfilled. Unless advanced interaction with the underlying systems is required, this is the only relevant hook for user-defined subclasses.- Specified by:
initSelfin classAbstractBaseClass
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getLabel
public java.lang.String getLabel()
-
getInputClass
public java.lang.Class<R> getInputClass()
- Specified by:
getInputClassin interfacePostProcessor<R extends Result,F extends Result>
-
getOutputClass
public java.lang.Class<F> getOutputClass()
- Specified by:
getOutputClassin interfacePostProcessor<R extends Result,F extends Result>
-
-