Class StepExecutorVoid
java.lang.Object
nl.pim16aap2.animatedarchitecture.core.tooluser.stepexecutor.StepExecutor
nl.pim16aap2.animatedarchitecture.core.tooluser.stepexecutor.StepExecutorVoid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?> Checks the type that is expected as input for this step.protected booleanprotectedAccept(@Nullable Object input) Protected version ofStepExecutor.apply(Object).@NonNull StringtoString()booleanvalidInput(@Nullable Object obj) Checks if an object is a valid input type.Methods inherited from class StepExecutor
apply, isAsync, protectedAcceptAsync
-
Constructor Details
-
StepExecutorVoid
-
-
Method Details
-
protectedAccept
Description copied from class:StepExecutorProtected version ofStepExecutor.apply(Object). That method takes care of input type verification.This method should be overridden by subclasses that are synchronous.
- Overrides:
protectedAcceptin classStepExecutor- Parameters:
input- The object to process in this step.
-
validInput
Description copied from class:StepExecutorChecks if an object is a valid input type.- Overrides:
validInputin classStepExecutor- Parameters:
obj- The object to check.- Returns:
- True if this object is valid for the current type.
-
getInputClass
Description copied from class:StepExecutorChecks the type that is expected as input for this step.- Specified by:
getInputClassin classStepExecutor- Returns:
- The
Classof the input object.
-
toString
- Overrides:
toStringin classStepExecutor
-