Class LifecycleUserImpl<T>
java.lang.Object
io.github.douira.glsl_transformer.transform.LifecycleUserImpl<T>
- All Implemented Interfaces:
LifecycleUser<T>
- Direct Known Subclasses:
TokenFilter,Transformation
This implementation of a lifecycle user may be used if a class can be
extended. A custom implementation should be considered if another class needs
to be extended. An instance of this class could also be held as a "trait" and
accessed through delegate methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the execution planner set on this child.voidsetPlanner(ExecutionPlanner<T> planner) Sets the parent planner of this child.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.douira.glsl_transformer.transform.LifecycleUser
getJobParameters, getLexer, getParser, getRootNode, init, resetState
-
Constructor Details
-
LifecycleUserImpl
public LifecycleUserImpl()
-
-
Method Details
-
getPlanner
Description copied from interface:LifecycleUserReturns the execution planner set on this child.- Specified by:
getPlannerin interfaceLifecycleUser<T>- Returns:
- The currently set execution planner
-
setPlanner
Description copied from interface:LifecycleUserSets the parent planner of this child.- Specified by:
setPlannerin interfaceLifecycleUser<T>- Parameters:
planner- The execution planner to set as the parent
-