Package com.yworkflow.instance.extension
Interface WorkflowInstanceExtension
- All Known Subinterfaces:
WorkflowInstanceAttributeRegister<T>,WorkflowInstanceAttributeResolver,WorkflowInstanceCondition,WorkflowInstanceFunction,WorkflowInstanceInputValidator
public interface WorkflowInstanceExtension
Base interface for all workflow instance extensions. WorkflowInstanceExtension provides common
functionality for extensions that operate on workflow instances, including priority management
and registration information.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intGets the priority of this extension.default ExtensionRegistrationGets the registration information for this extension.
-
Method Details
-
getPriority
default int getPriority()Gets the priority of this extension. Higher values indicate higher priority. Extensions with higher priority are executed before those with lower priority.- Returns:
- the priority of this extension, or -1 for default priority
-
getRegistration
Gets the registration information for this extension.- Returns:
- the extension registration, or empty registration if not registered
-