Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAttributes - Class in com.yworkflow.definition.model.attribute
-
Abstract base class for attribute collections.
- AbstractAttributes() - Constructor for class com.yworkflow.definition.model.attribute.AbstractAttributes
- AbstractMutableAttributes - Class in com.yworkflow.definition.model.attribute
-
Abstract base class for mutable attribute collections.
- AbstractMutableAttributes() - Constructor for class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- actAs(WorkflowCaller) - Method in record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Creates a new WorkflowCallerContext with the specified caller, keeping the same tenant ID.
- actAs(WorkflowCaller) - Method in interface com.yworkflow.common.caller.WorkflowCallerContext
-
Creates a new WorkflowCallerContext with the specified caller, keeping the same tenant ID.
- actAs(WorkflowCaller) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Creates a new WorkflowInstance view that operates as the specified caller.
- actAs(WorkflowCaller) - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Creates a new session acting as the specified caller.
- addAll(Attributes) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Adds all attributes from the specified Attributes instance to this instance.
- addAll(Map<String, Object>) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Adds all key-value pairs from the specified Map to this instance.
- addCommonTransition(Transition) - Method in interface com.yworkflow.definition.model.Transitions
-
Adds a common transition to the workflow.
- addFork(Fork) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Adds a fork to the workflow.
- addGlobalTransition(Transition) - Method in interface com.yworkflow.definition.model.Transitions
-
Adds a global transition to the workflow.
- addInitialTransition(Transition) - Method in interface com.yworkflow.definition.model.Transitions
-
Adds an initial transition to the workflow.
- addInterceptor(WorkflowInterceptor) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Adds an interceptor to the workflow engine.
- addJoin(Join) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Adds a join to the workflow.
- addState(State) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Adds a state to the workflow.
- addTransaction(WorkflowTransaction) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Adds a transaction manager to the workflow engine.
- alias(String) - Static method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Creates an alias registration for an extension.
- aliasCondition(String) - Method in interface com.yworkflow.definition.model.builder.ConditionsBuilder
-
Adds an alias-based condition without arguments to the conditions builder.
- aliasCondition(String, Map<String, String>) - Method in interface com.yworkflow.definition.model.builder.ConditionsBuilder
-
Adds an alias-based condition with arguments to the conditions builder.
- aliasFunction(String) - Method in interface com.yworkflow.definition.model.builder.FunctionBuilder
-
Creates an alias-based function with the specified value and no arguments.
- aliasFunction(String, Map<String, String>) - Method in interface com.yworkflow.definition.model.builder.FunctionBuilder
-
Creates an alias-based function with the specified value and arguments.
- aliasValidator(String) - Method in interface com.yworkflow.definition.model.builder.ValidatorBuilder
-
Creates an alias-based validator with the specified value and no arguments.
- aliasValidator(String, Map<String, String>) - Method in interface com.yworkflow.definition.model.builder.ValidatorBuilder
-
Creates an alias-based validator with the specified value and arguments.
- AND - Enum constant in enum class com.yworkflow.definition.model.Conditions.Operator
-
AND operator - all conditions must be true for the result to be true.
- anonymous() - Static method in interface com.yworkflow.common.caller.WorkflowCaller
-
Creates a new anonymous WorkflowCaller instance with no identity.
- anonymous() - Static method in interface com.yworkflow.common.caller.WorkflowCallerContext
-
Creates a new anonymous WorkflowCallerContext with an empty tenant ID.
- apply(A) - Method in interface com.yworkflow.common.WorkflowFunction
-
Applies this function to the given argument.
- as(WorkflowCaller) - Static method in interface com.yworkflow.common.caller.WorkflowCallerContext
-
Creates a new WorkflowCallerContext for the specified caller with an empty tenant ID.
- asCommon(Model<?, ?>) - Method in interface com.yworkflow.definition.model.Transition
-
Creates a common version of this transition that can be used from multiple states.
- asGlobal(Model<?, ?>) - Method in interface com.yworkflow.definition.model.Transition
-
Creates a global version of this transition that can be used from any state.
- asInitial(Model<?, ?>) - Method in interface com.yworkflow.definition.model.Transition
-
Creates an initial version of this transition that can be used to start a workflow.
- asLong() - Method in class com.yworkflow.instance.model.value.StateInstanceId
-
Converts this state instance ID to a Long value.
- asLong() - Method in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
Converts this WorkflowInstanceId to a Long value.
- AttributeEntity - Record Class in com.yworkflow.instance.repository
-
Represents an attribute entity in the repository layer.
- AttributeEntity(String, String, String) - Constructor for record class com.yworkflow.instance.repository.AttributeEntity
-
Creates an instance of a
AttributeEntityrecord class. - AttributeEntry<T> - Record Class in com.yworkflow.definition.model.attribute
-
Represents an attribute entry with its type and value.
- AttributeEntry(AttributeType<T>, T) - Constructor for record class com.yworkflow.definition.model.attribute.AttributeEntry
-
Creates an instance of a
AttributeEntryrecord class. - AttributeException - Exception in com.yworkflow.definition.model.attribute
-
Exception thrown when attribute operations fail.
- AttributeException(Exception) - Constructor for exception com.yworkflow.definition.model.attribute.AttributeException
-
Creates a new AttributeException with the specified cause.
- AttributeException(String) - Constructor for exception com.yworkflow.definition.model.attribute.AttributeException
-
Creates a new AttributeException with the specified message.
- AttributeException(String, Exception) - Constructor for exception com.yworkflow.definition.model.attribute.AttributeException
-
Creates a new AttributeException with the specified message and cause.
- attributeResolver(Attributes) - Method in interface com.yworkflow.definition.model.ExtensionProvider
-
Returns the attribute resolver for this extension provider.
- attributes() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the mutable attributes of this workflow instance.
- attributes() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns the value of the
attributesrecord component. - Attributes - Interface in com.yworkflow.definition.model.attribute
-
Base interface for accessing workflow attributes.
- AttributeType<T> - Class in com.yworkflow.definition.model.attribute
-
Represents a type-safe attribute type for workflow attributes.
- autoExecute(boolean) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Sets whether this transition should be executed automatically.
B
- BOOLEAN - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for boolean values.
- build() - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Builds and returns the configured WorkflowEngine instance.
- build() - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Builds the ConditionalResult instance with all configured properties.
- build() - Method in interface com.yworkflow.definition.model.builder.BuildableForkBuilder
-
Builds the Fork instance with all configured properties.
- build() - Method in interface com.yworkflow.definition.model.builder.BuildableJoinBuilder
-
Builds the Join instance with all configured properties.
- build() - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Builds the DefaultResult instance with all configured properties.
- build() - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Builds the State instance with all configured properties.
- build() - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Builds the Transition instance with all configured properties.
- build() - Method in interface com.yworkflow.definition.model.builder.FunctionBuilder
-
Builds the Function instance with all configured properties.
- build() - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Builds the WorkflowDefinition instance with all configured properties.
- BuildableConditionalResultBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating and configuring ConditionalResult instances.
- BuildableForkBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Fork instances with optional configuration.
- BuildableJoinBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Join instances with optional configuration.
- BuildableResultBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for configuring optional properties of DefaultResult instances.
- BuildableStateBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for configuring optional properties of State instances.
- BuildableTransitionBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for configuring optional properties of Transition instances.
- builder() - Static method in interface com.yworkflow.WorkflowEngine
-
Creates a new WorkflowEngineBuilder instance for configuring and building a WorkflowEngine.
C
- call() - Method in interface com.yworkflow.common.WorkflowCallable
-
Computes a result, or throws an exception if unable to do so.
- caller() - Method in record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Returns the value of the
callerrecord component. - caller() - Method in interface com.yworkflow.common.caller.WorkflowCallerContext
-
Returns the caller associated with this context.
- caller() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
callerrecord component. - caller(String) - Static method in interface com.yworkflow.common.caller.WorkflowCaller
-
Creates a new WorkflowCaller instance with the specified caller identity.
- CanCopy<T> - Interface in com.yworkflow.definition.model.base
-
Interface for objects that can create copies of themselves.
- canInit(WorkflowDefinitionId, TransitionId) - Method in interface com.yworkflow.WorkflowInstances
-
Checks if a workflow can be initialized with the specified workflow definition ID and initial transition.
- canInit(WorkflowDefinitionId, TransitionId, Attributes) - Method in interface com.yworkflow.WorkflowInstances
-
Checks if a workflow can be initialized with the specified workflow definition ID, initial transition, and input attributes.
- canInitialize(WorkflowExecutionContext, TransitionId) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Checks if the workflow can be initialized with the specified transition and attributes.
- canModifyStatus(WorkflowInstanceStatus) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Checks if the workflow instance status can be modified to the specified status.
- canTransitionTo(WorkflowInstanceStatus) - Method in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
Checks if this status can transition to the specified target status.
- capabilities(Iterable<Capability>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Sets the capabilities for this state using an iterable collection.
- Capability - Interface in com.yworkflow.definition.model
-
Represents a capability value associated with a specific state.
- CAPABILITY - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
State capabilities.
- chain() - Method in record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Returns the value of the
chainrecord component. - changeStatus(WorkflowInstanceStatus) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Changes the status of this workflow instance to the specified status.
- check(WorkflowExecutionContext, Condition) - Method in interface com.yworkflow.definition.model.extension.WorkflowCondition
-
Evaluates the condition against the provided attributes and returns whether the condition is satisfied.
- check(WorkflowExecutionContext, Condition, Attributes) - Method in interface com.yworkflow.instance.extension.WorkflowInstanceCondition
-
Checks if the condition is satisfied given the current context and attributes.
- close() - Method in interface com.yworkflow.instance.context.MutableWorkflowExecutionContext
-
Closes this context and releases any associated resources.
- com.yworkflow - package com.yworkflow
- com.yworkflow.builder - package com.yworkflow.builder
- com.yworkflow.common - package com.yworkflow.common
- com.yworkflow.common.caller - package com.yworkflow.common.caller
- com.yworkflow.common.clock - package com.yworkflow.common.clock
- com.yworkflow.common.error - package com.yworkflow.common.error
- com.yworkflow.common.tenant - package com.yworkflow.common.tenant
- com.yworkflow.definition - package com.yworkflow.definition
- com.yworkflow.definition.model - package com.yworkflow.definition.model
- com.yworkflow.definition.model.attribute - package com.yworkflow.definition.model.attribute
- com.yworkflow.definition.model.base - package com.yworkflow.definition.model.base
- com.yworkflow.definition.model.builder - package com.yworkflow.definition.model.builder
- com.yworkflow.definition.model.converter - package com.yworkflow.definition.model.converter
- com.yworkflow.definition.model.diff - package com.yworkflow.definition.model.diff
- com.yworkflow.definition.model.error - package com.yworkflow.definition.model.error
- com.yworkflow.definition.model.extension - package com.yworkflow.definition.model.extension
- com.yworkflow.definition.model.extension.error - package com.yworkflow.definition.model.extension.error
- com.yworkflow.definition.model.update - package com.yworkflow.definition.model.update
- com.yworkflow.definition.model.validation - package com.yworkflow.definition.model.validation
- com.yworkflow.definition.model.value - package com.yworkflow.definition.model.value
- com.yworkflow.extension.error - package com.yworkflow.extension.error
- com.yworkflow.instance - package com.yworkflow.instance
- com.yworkflow.instance.context - package com.yworkflow.instance.context
- com.yworkflow.instance.error - package com.yworkflow.instance.error
- com.yworkflow.instance.extension - package com.yworkflow.instance.extension
- com.yworkflow.instance.model - package com.yworkflow.instance.model
- com.yworkflow.instance.model.value - package com.yworkflow.instance.model.value
- com.yworkflow.instance.repository - package com.yworkflow.instance.repository
- com.yworkflow.instance.session - package com.yworkflow.instance.session
- com.yworkflow.instance.store - package com.yworkflow.instance.store
- com.yworkflow.transaction - package com.yworkflow.transaction
- COMMON_TRANSITION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Common transitions available from multiple states.
- compareTo(WorkflowCaller) - Method in class com.yworkflow.common.caller.ImmutableWorkflowCaller
-
Compares this WorkflowCaller with another WorkflowCaller for ordering.
- compareTo(ResultId) - Method in class com.yworkflow.definition.model.value.ResultId
-
Compares this ResultId with another for ordering.
- compareTo(ResultStatus) - Method in class com.yworkflow.definition.model.value.ResultStatus
- compareTo(StateId) - Method in class com.yworkflow.definition.model.value.StateId
-
Compares this StateId with another for ordering.
- compareTo(TransitionId) - Method in class com.yworkflow.definition.model.value.TransitionId
-
Compares this TransitionId with another TransitionId for ordering.
- compareTo(WorkflowDefinitionId) - Method in class com.yworkflow.definition.model.value.WorkflowDefinitionId
-
Compares this WorkflowDefinitionId with another WorkflowDefinitionId for ordering.
- compareTo(StateInstanceId) - Method in class com.yworkflow.instance.model.value.StateInstanceId
- compareTo(WorkflowInstanceId) - Method in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
Compares this WorkflowInstanceId with another WorkflowInstanceId for ordering.
- complete(boolean) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the completion status for this conditional result.
- complete(boolean) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the completion status for this result.
- COMPLETED - Enum constant in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
The workflow instance has completed successfully.
- completedAt() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
completedAtrecord component. - Condition - Interface in com.yworkflow.definition.model
-
Represents a condition that can be evaluated during workflow execution.
- CONDITION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Transition conditions.
- CONDITIONAL_RESULT - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Conditional transition results.
- ConditionalResult - Interface in com.yworkflow.definition.model
-
Represents a conditional result that is executed when specific conditions are met.
- ConditionalResultBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating ConditionalResult instances.
- Conditions - Interface in com.yworkflow.definition.model
-
Represents a collection of conditions that can be combined using logical operators.
- Conditions.Operator - Enum Class in com.yworkflow.definition.model
-
Logical operators for combining conditions.
- ConditionsBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Conditions instances.
- ConditionsStageConditionalResultBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating ConditionalResult instances with mandatory conditions.
- containsKey(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Checks if an attribute with the specified key exists.
- containsKey(String) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
- convert(String) - Method in class com.yworkflow.definition.model.attribute.AttributeType
-
Converts a string value to the appropriate type for this AttributeType.
- convertFrom(WorkflowDefinition) - Method in interface com.yworkflow.definition.model.converter.WorkflowConverter
-
Converts a Workflow object to the external representation type.
- convertTo(WorkflowDefinitionId, T) - Method in interface com.yworkflow.definition.model.converter.WorkflowConverter
-
Converts an external representation to a Workflow object.
- convertTo(T) - Method in interface com.yworkflow.definition.model.converter.WorkflowConverter
-
Converts an external representation to a Workflow object with a default ID.
- copy() - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Creates a copy of this HashMutableAttributes instance.
- copy() - Method in interface com.yworkflow.definition.model.base.CanCopy
-
Creates a copy of this object.
- copy() - Method in interface com.yworkflow.definition.model.Conditions
-
Creates a deep copy of these conditions.
- copy(WorkflowDefinitionId, Properties, ExtensionProvider) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Creates a copy of this workflow definition with the specified parameters.
- create(WorkflowCallerContext, WorkflowDefinitionId) - Method in interface com.yworkflow.definition.WorkflowDefinitionFactory
-
Creates a new workflow definition with the specified ID.
- create(WorkflowDefinitionId) - Method in interface com.yworkflow.WorkflowDefinitions
-
Creates a new empty workflow definition with the specified ID.
- createBuilder() - Method in interface com.yworkflow.builder.WorkflowEngineBuilderProvider
-
Creates a new WorkflowEngineBuilder instance.
- CREATED - Enum constant in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
The workflow instance has been created but not yet started.
- createStateInstance(WorkflowCallerContext, WorkflowInstanceId, StateId, List<String>, Instant, Instant, ResultStatus, List<StateInstanceId>, Attributes) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Creates a new state instance within a workflow instance.
- createWorkflowBuilder() - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilderProvider
-
Creates a new WorkflowDefinitionBuilder with a randomly generated workflow definition ID.
- createWorkflowBuilder(WorkflowDefinitionId) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilderProvider
-
Creates a new WorkflowDefinitionBuilder with the specified workflow definition ID.
- createWorkflowInstanceEntity(WorkflowCallerContext, WorkflowDefinitionId, Attributes) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Creates a new workflow instance entity.
- CURRENT_STATE_ID_USED - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Current state ID is used in transition.
D
- DATA - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for byte array (data) values.
- DEFAULT_ENTER_STATUS - Static variable in class com.yworkflow.definition.model.value.ResultStatus
-
Default status for entering a state or result.
- DEFAULT_EXIT_STATUS - Static variable in class com.yworkflow.definition.model.value.ResultStatus
-
Default status for exiting a state or result.
- DEFAULT_RESULT - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Default transition results.
- DefaultResult - Interface in com.yworkflow.definition.model
-
Represents the default result of a transition.
- DefaultResultBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating DefaultResult instances.
- DefaultResultStageJoinBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Join instances with mandatory default results.
- define() - Static method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Creates a new WorkflowDefinitionBuilder with a randomly generated workflow definition ID.
- define(WorkflowDefinitionId) - Static method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Creates a new WorkflowDefinitionBuilder with the specified workflow definition ID.
- definitions() - Method in interface com.yworkflow.WorkflowEngine
-
Returns the workflow definitions manager for managing workflow definitions.
- delete(WorkflowCallerContext, WorkflowDefinitionId) - Method in interface com.yworkflow.definition.WorkflowDefinitionRepository
-
Deletes a workflow definition from the repository.
- destinationId(DestinationId) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the destination ID for this result.
- destinationId(DestinationId) - Method in interface com.yworkflow.definition.model.builder.ConditionalResultBuilder
-
Sets the destination ID for the conditional result and returns a conditions stage builder for further configuration.
- destinationId(DestinationId) - Method in interface com.yworkflow.definition.model.builder.DefaultResultBuilder
-
Sets the destination ID for the default result and returns a buildable result builder for further configuration.
- DestinationId - Interface in com.yworkflow.definition.model.value
-
Represents a destination ID that can point to different types of workflow elements.
- diff(WorkflowDefinition) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Compares this workflow with another workflow and returns the differences.
- DOUBLE - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for double values.
- dueAt() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
dueAtrecord component. - dueAt(String) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the due date for this conditional result.
- dueAt(String) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the due date for this result.
- DUPLICATE_COMMON_TRANSITION_ID - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Duplicate common transition ID.
- DUPLICATE_INITIAL_TRANSITION_ID - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Duplicate initial transition ID.
- DUPLICATE_STATE_TRANSITION_ID - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Duplicate transition ID within state.
E
- ELEMENT_MISSING - Enum constant in enum class com.yworkflow.definition.model.diff.ErrorType
-
An element that exists in one model but not in another.
- ELEMENT_POSITION - Enum constant in enum class com.yworkflow.definition.model.diff.ErrorType
-
An element that exists in both models but in different positions.
- empty() - Static method in interface com.yworkflow.definition.model.attribute.Attributes
-
Creates a new empty ImmutableAttributes instance.
- empty() - Static method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Creates an empty registration that represents no extension.
- empty() - Static method in class com.yworkflow.instance.model.StateInstance
-
Creates an empty StateInstance with default empty values.
- EMPTY - Static variable in interface com.yworkflow.common.caller.WorkflowCaller
-
An empty caller instance with an empty string value.
- EMPTY - Static variable in class com.yworkflow.common.tenant.TenantId
-
Represents an empty tenant ID, used when no specific tenant is specified.
- EMPTY - Static variable in class com.yworkflow.definition.model.value.ResultStatus
-
Empty result status with no value.
- EMPTY - Static variable in class com.yworkflow.definition.model.value.StateId
-
Represents an empty state ID, used when no specific state is specified.
- EMPTY - Static variable in class com.yworkflow.definition.model.value.TransitionId
-
An empty TransitionId instance with an empty value and no name.
- EMPTY - Static variable in class com.yworkflow.instance.model.value.StateInstanceId
-
Empty state instance ID with no value.
- EMPTY - Static variable in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
An empty WorkflowInstanceId instance with an empty string value.
- enterStatus(ResultStatus) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the enter status for this conditional result.
- enterStatus(ResultStatus) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the enter status for this result.
- equals(Object) - Method in record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.yworkflow.common.tenant.TenantId
-
Compares this TenantId with another object for equality.
- equals(Object) - Method in record class com.yworkflow.definition.model.attribute.AttributeEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.yworkflow.definition.model.diff.WorkflowDefinitionDiffResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.yworkflow.definition.model.FunctionContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.yworkflow.definition.model.validation.ValidationError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.yworkflow.definition.model.value.ForkId
-
Compares this ForkId with another object for equality.
- equals(Object) - Method in class com.yworkflow.definition.model.value.JoinId
-
Compares this JoinId with another object for equality.
- equals(Object) - Method in class com.yworkflow.definition.model.value.ResultId
-
Compares this ResultId with another object for equality.
- equals(Object) - Method in class com.yworkflow.definition.model.value.ResultStatus
- equals(Object) - Method in class com.yworkflow.definition.model.value.StateId
-
Compares this StateId with another object for equality.
- equals(Object) - Method in class com.yworkflow.definition.model.value.TransitionId
-
Compares this TransitionId with the specified object for equality.
- equals(Object) - Method in class com.yworkflow.definition.model.value.WorkflowDefinitionId
-
Compares this WorkflowDefinitionId with the specified object for equality.
- equals(Object) - Method in record class com.yworkflow.instance.model.ProcessingDetails
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.yworkflow.instance.model.value.StateInstanceId
- equals(Object) - Method in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
Compares this WorkflowInstanceId with the specified object for equality.
- equals(Object) - Method in record class com.yworkflow.instance.repository.AttributeEntity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Indicates whether some other object is "equal to" this one.
- errorType() - Method in record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Returns the value of the
errorTyperecord component. - ErrorType - Enum Class in com.yworkflow.definition.model.diff
-
Enumeration of error types that can occur during workflow model comparison.
- evaluate(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Capability
-
Evaluates whether this capability is available given the current attributes.
- evaluate(WorkflowExecutionContext, StateId) - Method in interface com.yworkflow.definition.model.Condition
-
Evaluates this condition against the given attributes and current state.
- execute() - Method in interface com.yworkflow.transaction.WorkflowTransactionalOperation
-
Executes the transactional operation and returns a result.
- execute() - Method in interface com.yworkflow.transaction.WorkflowTransactionalVoidOperation
-
Executes the transactional operation without returning a result.
- execute(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Function
-
Executes this function with the provided attributes.
- execute(WorkflowExecutionContext, FunctionContext, Function) - Method in interface com.yworkflow.definition.model.extension.WorkflowFunction
-
Executes the function with the provided context and attributes.
- execute(WorkflowExecutionContext, FunctionContext, Function, Attributes) - Method in interface com.yworkflow.instance.extension.WorkflowInstanceFunction
-
Executes the custom function with the provided context and attributes.
- execute(WorkflowTransactionalOperation<R, T>) - Method in interface com.yworkflow.WorkflowTransaction
-
Executes a transactional operation that returns a value.
- execute(WorkflowTransactionalVoidOperation<T>) - Method in interface com.yworkflow.WorkflowTransaction
-
Executes a transactional operation that returns void.
- executePostFunctions(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Result
-
Executes all post-functions associated with this result.
- executePostFunctions(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.State
-
Executes all post-functions for this state with the given attributes.
- executePostFunctions(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Transition
-
Executes all post-functions for this transition.
- executePreFunctions(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Result
-
Executes all pre-functions associated with this result.
- executePreFunctions(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.State
-
Executes all pre-functions for this state with the given attributes.
- executePreFunctions(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Transition
-
Executes all pre-functions for this transition.
- executeTriggerFunction(String) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Executes a trigger function with the specified ID.
- exitStatus(ResultStatus) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the exit status for this conditional result.
- exitStatus(ResultStatus) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the exit status for this result.
- ExtensionProvider - Interface in com.yworkflow.definition.model
-
Provides access to workflow extensions by resolving them by type and value.
- ExtensionRegistration - Record Class in com.yworkflow.definition.model.extension
-
Represents a registration for a workflow extension.
- ExtensionRegistration(String, String) - Constructor for record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Creates an instance of a
ExtensionRegistrationrecord class.
F
- findHistoryStateInstances(WorkflowCallerContext, WorkflowInstanceId) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Finds all historical state instances for a workflow instance.
- findLastHistoryStateInstances(WorkflowCallerContext, WorkflowInstanceId) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Finds the last historical state instance for each state in a workflow instance.
- findStateInstances(WorkflowCallerContext, WorkflowInstanceId) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Finds all active state instances for a workflow instance.
- findWorkflowInstanceEntity(WorkflowCallerContext, WorkflowInstanceId) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Finds a workflow instance entity by its ID.
- Fork - Interface in com.yworkflow.definition.model
-
Represents a fork in a workflow definition that allows parallel execution paths.
- FORK - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Fork operations for parallel execution.
- ForkBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Fork instances.
- forkId(String) - Static method in class com.yworkflow.definition.model.value.ForkId
-
Creates a new ForkId with the specified value and no name.
- forkId(String, String) - Static method in class com.yworkflow.definition.model.value.ForkId
-
Creates a new ForkId with the specified value and name.
- ForkId - Class in com.yworkflow.definition.model.value
-
Represents a unique identifier for a workflow fork.
- from(TenantId) - Method in record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Creates a new WorkflowCallerContext with the specified tenant ID, keeping the same caller.
- from(TenantId) - Method in interface com.yworkflow.common.caller.WorkflowCallerContext
-
Creates a new WorkflowCallerContext with the specified tenant ID, keeping the same caller.
- from(AttributeType<?>, Object) - Static method in record class com.yworkflow.definition.model.attribute.AttributeEntry
-
Creates an AttributeEntry from a generic type and value.
- from(T) - Static method in class com.yworkflow.definition.model.attribute.AttributeType
-
Creates an AttributeType from a value by determining its type.
- Function - Interface in com.yworkflow.definition.model
-
Represents a function that can be executed during workflow transitions.
- FunctionBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Function instances.
- FunctionContext - Record Class in com.yworkflow.definition.model
-
Represents the context in which a workflow function is executed.
- FunctionContext(FunctionType, DestinationId, TransitionId) - Constructor for record class com.yworkflow.definition.model.FunctionContext
-
Creates an instance of a
FunctionContextrecord class. - functionType() - Method in record class com.yworkflow.definition.model.FunctionContext
-
Returns the value of the
functionTyperecord component. - FunctionType - Enum Class in com.yworkflow.definition.model
-
Enumeration of function types that define when and where workflow functions are executed.
G
- get(WorkflowCallerContext, WorkflowDefinitionId) - Method in interface com.yworkflow.definition.WorkflowDefinitionFactory
-
Retrieves a workflow definition by ID.
- get(WorkflowCallerContext, WorkflowDefinitionId) - Method in interface com.yworkflow.definition.WorkflowDefinitionRepository
-
Retrieves a workflow definition from the repository.
- get(WorkflowCallerContext, WorkflowInstanceId) - Method in interface com.yworkflow.instance.WorkflowInstanceRepository
-
Retrieves a workflow instance entity from the repository.
- get(AttributeType<T>, String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
-
Abstract method to get an attribute value with the specified type and key.
- get(AttributeType<T>, String) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Gets an attribute value with the specified type and key.
- get(WorkflowDefinitionId) - Method in interface com.yworkflow.WorkflowDefinitions
-
Retrieves a workflow definition by its ID.
- get(WorkflowInstanceId) - Method in interface com.yworkflow.WorkflowInstances
-
Retrieves a workflow instance by its ID.
- get(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- get(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets an attribute value as an Object.
- getActualStatus() - Method in exception com.yworkflow.instance.error.InvalidWorkflowInstanceStatusException
-
Returns the actual current status of the workflow instance.
- getArgs() - Method in interface com.yworkflow.definition.model.Function
-
Returns the arguments for this function.
- getArgs() - Method in interface com.yworkflow.definition.model.Register
-
Gets the arguments to pass to the attribute register.
- getArgs() - Method in interface com.yworkflow.definition.model.Validator
-
Gets the arguments to pass to the validator.
- getAttributeRegister(String, String, Attributes) - Method in interface com.yworkflow.definition.model.ExtensionProvider
-
Resolves a workflow attribute register by type and value.
- getAttributes(WorkflowCallerContext, WorkflowInstanceId) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Retrieves the mutable attributes for a workflow instance.
- getAvailableGlobalTransition(WorkflowExecutionContext, TransitionId) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets an available global transition for the specified transition ID and attributes.
- getAvailableTransitions() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the list of transitions that are currently available for execution.
- getAvailableTransitions(Attributes) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the list of transitions that are currently available for execution with the given input attributes.
- getBoolean(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getBoolean(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets a boolean attribute value.
- getCaller() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the caller who initiated this state instance.
- getCallerContext() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the caller context for this context.
- getCallerContext() - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Gets the caller context for this session.
- getCapabilities() - Method in interface com.yworkflow.definition.model.State
-
Gets all capabilities available in this state.
- getCapabilities() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the capabilities available to this workflow instance.
- getCapabilities(Attributes) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the capabilities available to this workflow instance with the given inputs.
- getClock() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the workflow clock for this context.
- getClock() - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Gets the workflow clock for this session.
- getCommonTransition(TransitionId) - Method in interface com.yworkflow.definition.model.Transitions
-
Gets a common transition by its ID.
- getCommonTransition(TransitionId) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets a common transition by its ID.
- getCommonTransitionIds() - Method in interface com.yworkflow.definition.model.State
-
Gets all common transition IDs available from this state.
- getCommonTransitions() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all common transitions in the workflow.
- getCompletedAt() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the completion date for this state instance.
- getCondition(String, String, Attributes) - Method in interface com.yworkflow.definition.model.ExtensionProvider
-
Resolves a workflow condition by type and value.
- getConditionalResults() - Method in interface com.yworkflow.definition.model.Transition
-
Gets all conditional results for this transition.
- getConditions() - Method in interface com.yworkflow.definition.model.Capability
-
Gets the conditions that determine when this capability is available.
- getConditions() - Method in interface com.yworkflow.definition.model.ConditionalResult
-
Gets the conditions that determine when this result should be executed.
- getConditions() - Method in interface com.yworkflow.definition.model.Conditions
-
Gets all the conditions in this collection.
- getConditions() - Method in interface com.yworkflow.definition.model.Join
-
Returns the conditions associated with this join.
- getCreatedState() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the created state instance for this context.
- getData(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getData(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets a binary data attribute value.
- getDefaultResult() - Method in interface com.yworkflow.definition.model.Transition
-
Gets the default result for this transition.
- getDefinition() - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Gets the workflow definition for this session.
- getDestination() - Method in interface com.yworkflow.definition.model.Result
-
Returns the destination of this result.
- getDouble(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getDouble(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets a double attribute value.
- getDueAt() - Method in interface com.yworkflow.definition.model.Result
-
Returns the due date for this result.
- getDueAt() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the due date for this state instance.
- getEnterStatus() - Method in interface com.yworkflow.definition.model.Result
-
Returns the enter status of this result.
- getEntry(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets the complete attribute entry for a key.
- getEntry(String) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
- getErrorObject() - Method in exception com.yworkflow.extension.error.InvalidInputException
-
Returns the object that caused the validation failure.
- getExitStatus() - Method in interface com.yworkflow.definition.model.Result
-
Returns the exit status of this result.
- getExtensions() - Method in interface com.yworkflow.definition.model.base.Model
-
Returns the extension provider associated with this model element.
- getExtensions() - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Gets the extension provider for this session.
- getFork(ForkId) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets a fork by its ID.
- getForks() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all forks in the workflow.
- getFunction(String, String, Attributes) - Method in interface com.yworkflow.definition.model.ExtensionProvider
-
Resolves a workflow function by type and value.
- getFunctionType() - Method in interface com.yworkflow.definition.model.Function
-
Returns the function context that defines the execution environment and capabilities of this function.
- getGlobalAttributes() - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Gets the global attributes for this session.
- getGlobalConditions() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets the global conditions for the workflow.
- getGlobalTransition(TransitionId) - Method in interface com.yworkflow.definition.model.Transitions
-
Gets a global transition by its ID.
- getGlobalTransitions() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all global transitions in the workflow.
- getGuards() - Method in interface com.yworkflow.definition.model.Transition
-
Gets the conditions that determine when this transition is available.
- getHistory() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the execution history of this workflow instance.
- getId() - Method in interface com.yworkflow.definition.model.base.HasId
-
Returns the unique identifier of this object.
- getId() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the unique identifier for this state instance.
- getId() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the unique identifier of this workflow instance.
- getId() - Method in class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Gets the workflow instance ID.
- getInitialTransition(TransitionId) - Method in interface com.yworkflow.definition.model.Transitions
-
Gets an initial transition by its ID.
- getInitialTransition(TransitionId) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets an initial transition by its ID.
- getInitialTransitions() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all initial transitions in the workflow.
- getInputs() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the inputs the context was created with
- getInstant(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getInstant(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets an Instant attribute value.
- getInt(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getInt(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets an integer attribute value.
- getJoin(JoinId) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets a join by its ID.
- getJoins() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all joins in the workflow.
- getJoinStateInstances() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the join state instances for this context.
- getKeys() - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getKeys() - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets all attribute keys.
- getKeys(AttributeType<?>) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getKeys(AttributeType<?>) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets all attribute keys of the specified type.
- getKeys(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getKeys(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets all attribute keys with the specified prefix.
- getKeys(String, AttributeType<?>) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets all attribute keys with the specified prefix and type.
- getKeys(String, AttributeType<?>) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
- getLong(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getLong(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets a long attribute value.
- getMap() - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Gets the underlying map containing the attribute entries.
- getMessage() - Method in exception com.yworkflow.definition.model.error.InvalidTransitionException
- getMessage() - Method in exception com.yworkflow.instance.error.InvalidStateException
-
Returns a detailed error message including the invalid state ID.
- getMetaAttributes() - Method in interface com.yworkflow.definition.model.State
-
Gets the meta attributes for this state.
- getMetaAttributes() - Method in interface com.yworkflow.definition.model.Transition
-
Gets the meta attributes for this transition.
- getMetaAttributes() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets the meta attributes of the workflow.
- getName() - Method in class com.yworkflow.definition.model.attribute.AttributeType
-
Gets the string name for this AttributeType.
- getName() - Method in interface com.yworkflow.definition.model.Capability
-
Gets the name of this capability.
- getName() - Method in exception com.yworkflow.definition.model.extension.error.UnresolvableExtensionException
-
Returns the name of the extension type that could not be resolved.
- getName() - Method in interface com.yworkflow.definition.model.Function
-
Returns the human-readable name of this function.
- getName() - Method in interface com.yworkflow.definition.model.Register
-
Gets the name of this register.
- getName() - Method in interface com.yworkflow.definition.model.Validator
-
Gets the name of this validator.
- getName() - Method in interface com.yworkflow.definition.model.value.DestinationId
-
Gets the optional name of this destination ID.
- getName() - Method in class com.yworkflow.definition.model.value.ForkId
-
Returns the optional human-readable name of this fork.
- getName() - Method in class com.yworkflow.definition.model.value.JoinId
-
Returns the optional human-readable name of this join.
- getName() - Method in class com.yworkflow.definition.model.value.ResultId
-
Returns the optional human-readable name of this result.
- getName() - Method in class com.yworkflow.definition.model.value.StateId
-
Returns the optional human-readable name of this state.
- getName() - Method in class com.yworkflow.definition.model.value.TransitionId
-
Returns the optional human-readable name of this transition.
- getName() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets the name of the workflow.
- getNewStatus() - Method in exception com.yworkflow.instance.error.InvalidWorkflowInstanceStatusException
-
Returns the requested new status that is invalid.
- getObject(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getObject(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets an object attribute value.
- getOperator() - Method in interface com.yworkflow.definition.model.Conditions
-
Gets the logical operator used to combine the conditions.
- getOwners() - Method in interface com.yworkflow.definition.model.Result
-
Returns the list of owners for this result.
- getOwners() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the list of owners responsible for this state instance.
- getParent() - Method in interface com.yworkflow.definition.model.base.Model
-
Returns the parent model element of this model element.
- getPersistents() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the persistent attributes associated with this context
- getPostFunctions() - Method in interface com.yworkflow.definition.model.Result
-
Returns the post-functions associated with this result.
- getPostFunctions() - Method in interface com.yworkflow.definition.model.State
-
Gets all post-functions for this state.
- getPostFunctions() - Method in interface com.yworkflow.definition.model.Transition
-
Gets all post-functions for this transition.
- getPreFunctions() - Method in interface com.yworkflow.definition.model.Result
-
Returns the pre-functions associated with this result.
- getPreFunctions() - Method in interface com.yworkflow.definition.model.State
-
Gets all pre-functions for this state.
- getPreFunctions() - Method in interface com.yworkflow.definition.model.Transition
-
Gets all pre-functions for this transition.
- getPreviousStateIds() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the list of previous state instance IDs.
- getPriority() - Method in interface com.yworkflow.definition.model.ExtensionProvider
-
Returns the priority of this extension provider.
- getPriority() - Method in interface com.yworkflow.instance.extension.WorkflowInstanceExtension
-
Gets the priority of this extension.
- getProcessingDetails() - Method in class com.yworkflow.instance.model.WorkflowInstanceStatusInfo
-
Details of a transition being processed
- getProperties() - Method in interface com.yworkflow.definition.model.base.Model
-
Returns the properties associated with this model element.
- getProperties() - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Gets the properties for this session.
- getPropertyDifference(Transition) - Method in interface com.yworkflow.definition.model.Transition
-
Gets the property differences between this transition and another transition.
- getPropertyDifference(SELF) - Method in interface com.yworkflow.definition.model.base.Model
-
Compares the properties of this model element with another instance and returns the set of property names that differ between them.
- getRegisters() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all attribute registers in the workflow.
- getRegistration() - Method in exception com.yworkflow.definition.model.extension.error.UnresolvableExtensionException
-
Returns the extension registration that failed.
- getRegistration() - Method in interface com.yworkflow.instance.extension.WorkflowInstanceExtension
-
Gets the registration information for this extension.
- getResult() - Method in interface com.yworkflow.definition.model.Join
-
Returns the default result of this join.
- getResult(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Transition
-
Gets the result that should be executed for this transition given the current attributes.
- getResult(WorkflowExecutionContext, StateId) - Method in interface com.yworkflow.definition.model.Transition
-
Gets the result that should be executed for this transition given the current attributes and state.
- getResults() - Method in interface com.yworkflow.definition.model.Fork
-
Gets all the results that define the parallel execution paths of this fork.
- getStartedAt() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the start date for this state instance.
- getStartedAt() - Method in class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Gets the date time at which the transition has been started
- getState(StateId) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets a state by its StateId.
- getState(String) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets a state by its string ID.
- getState(String) - Method in interface com.yworkflow.instance.model.JoinStateInstances
-
Gets a specific state instance by its state ID.
- getStateId() - Method in interface com.yworkflow.definition.model.Capability
-
Gets the state ID that this capability belongs to.
- getStateId() - Method in exception com.yworkflow.instance.error.InvalidStateException
-
Returns the StateId that caused the exception.
- getStateId() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the state ID that this instance represents.
- getStateInstances() - Method in interface com.yworkflow.instance.model.JoinStateInstances
-
Gets all state instances in this join as a collection.
- getStateInstances() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the list of currently active state instances.
- getStates() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all states in the workflow.
- getStates() - Method in interface com.yworkflow.instance.model.JoinStateInstances
-
Gets all state instances in this join as a map keyed by state ID.
- getStateTransition(TransitionId) - Method in interface com.yworkflow.definition.model.Transitions
-
Gets a state transition by its ID.
- getStatus() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the current status of this state instance.
- getStatus() - Method in class com.yworkflow.instance.model.WorkflowInstanceStatusInfo
-
Status of the workflow instance
- getStatus() - Method in class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Gets the current workflow instance status.
- getStatusInfo() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the current status of this workflow instance.
- getStore() - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Gets the workflow instance store for this session.
- getString(String) - Method in class com.yworkflow.definition.model.attribute.AbstractAttributes
- getString(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets a string attribute value.
- getTenantId() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the tenant ID associated with this workflow instance.
- getTenantId() - Method in class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Gets the tenant ID.
- getTransients() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the transient attributes associated with this context
- getTransition(TransitionId) - Method in interface com.yworkflow.definition.model.State
-
Gets a transition by its ID.
- getTransitionId() - Method in exception com.yworkflow.definition.model.error.InvalidTransitionException
-
Gets the ID of the invalid transition.
- getTransitionId() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the transition ID for this context.
- getTransitionId() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the transition ID that led to this state instance.
- getTransitionId() - Method in class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Gets the transition ID of the in progress transition
- getTransitions() - Method in interface com.yworkflow.definition.model.State
-
Gets all transitions available from this state.
- getTriggerFunction(String) - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets a trigger function by its ID.
- getTriggerFunctions() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Gets all trigger functions in the workflow.
- getType() - Method in class com.yworkflow.definition.model.attribute.AttributeType
-
Gets the Java class type for this AttributeType.
- getType() - Method in interface com.yworkflow.definition.model.Function
-
Returns the type of this function.
- getType() - Method in interface com.yworkflow.definition.model.Register
-
Gets the type of attribute register to use.
- getType() - Method in interface com.yworkflow.definition.model.Validator
-
Gets the type of validator to use.
- getType(String) - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Gets the type of an attribute.
- getType(String) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
- getValidationErrors() - Method in exception com.yworkflow.instance.error.InvalidWorkflowDefinitionException
-
Returns the list of validation errors that caused this exception.
- getValidator(String, String, Attributes) - Method in interface com.yworkflow.definition.model.ExtensionProvider
-
Resolves a workflow input validator by type and value.
- getValidators() - Method in interface com.yworkflow.definition.model.Result
-
Returns the validators associated with this result.
- getValidators() - Method in interface com.yworkflow.definition.model.Transition
-
Gets all validators for this transition.
- getValue() - Method in class com.yworkflow.common.tenant.TenantId
-
Returns the string value of this tenant ID.
- getValue() - Method in interface com.yworkflow.definition.model.Function
-
Returns the value of this function.
- getValue() - Method in interface com.yworkflow.definition.model.Register
-
Gets the value or identifier for the attribute register.
- getValue() - Method in interface com.yworkflow.definition.model.Validator
-
Gets the value or identifier for the validator.
- getValue() - Method in interface com.yworkflow.definition.model.value.DestinationId
-
Gets the value of this destination ID.
- getValue() - Method in class com.yworkflow.definition.model.value.ForkId
-
Returns the string value of this fork ID.
- getValue() - Method in class com.yworkflow.definition.model.value.JoinId
-
Returns the string value of this join ID.
- getValue() - Method in interface com.yworkflow.definition.model.value.ModelId
-
Gets the string value of this model ID.
- getValue() - Method in class com.yworkflow.definition.model.value.ResultId
-
Returns the string value of this result ID.
- getValue() - Method in class com.yworkflow.definition.model.value.ResultStatus
- getValue() - Method in class com.yworkflow.definition.model.value.StateId
-
Returns the string value of this state ID.
- getValue() - Method in class com.yworkflow.definition.model.value.TransitionId
-
Returns the string value of this transition ID.
- getValue() - Method in class com.yworkflow.definition.model.value.WorkflowDefinitionId
-
Returns the string value of this workflow definition ID.
- getValue() - Method in class com.yworkflow.instance.model.value.StateInstanceId
-
Gets the string value of this state instance ID.
- getValue() - Method in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
Returns the string value of this workflow instance ID.
- getWorkflow() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the workflow definition for this context.
- getWorkflowDefinitionId() - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Returns the ID of the workflow definition that this instance is based on.
- getWorkflowDefinitionId() - Method in class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Gets the workflow definition ID.
- getWorkflowInstanceId() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the workflow instance ID for this context.
- getWorkflowInstanceId() - Method in class com.yworkflow.instance.model.StateInstance
-
Gets the workflow instance ID that this state instance belongs to.
- getWorkflowInstanceStore() - Method in interface com.yworkflow.instance.context.WorkflowExecutionContext
-
Gets the workflow instance store for this context.
- GLOBAL_CONDITION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Global conditions.
- GLOBAL_TRANSITION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Global transitions available from any state.
- globalAttributes() - Method in interface com.yworkflow.WorkflowEngine
-
Returns the global attributes that are shared across all workflow instances.
H
- hashCode() - Method in record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Returns a hash code value for this object.
- hashCode() - Method in class com.yworkflow.common.tenant.TenantId
-
Returns the hash code for this TenantId based on its string value.
- hashCode() - Method in record class com.yworkflow.definition.model.attribute.AttributeEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.yworkflow.definition.model.diff.WorkflowDefinitionDiffResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.yworkflow.definition.model.FunctionContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.yworkflow.definition.model.validation.ValidationError
-
Returns a hash code value for this object.
- hashCode() - Method in class com.yworkflow.definition.model.value.ForkId
-
Returns the hash code for this ForkId based on its string value.
- hashCode() - Method in class com.yworkflow.definition.model.value.JoinId
-
Returns the hash code for this JoinId based on its string value.
- hashCode() - Method in class com.yworkflow.definition.model.value.ResultId
-
Returns the hash code for this ResultId based on its string value.
- hashCode() - Method in class com.yworkflow.definition.model.value.ResultStatus
- hashCode() - Method in class com.yworkflow.definition.model.value.StateId
-
Returns the hash code for this StateId based on its string value.
- hashCode() - Method in class com.yworkflow.definition.model.value.TransitionId
-
Returns the hash code for this TransitionId.
- hashCode() - Method in class com.yworkflow.definition.model.value.WorkflowDefinitionId
-
Returns the hash code for this WorkflowDefinitionId.
- hashCode() - Method in record class com.yworkflow.instance.model.ProcessingDetails
-
Returns a hash code value for this object.
- hashCode() - Method in class com.yworkflow.instance.model.value.StateInstanceId
- hashCode() - Method in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
Returns the hash code for this WorkflowInstanceId.
- hashCode() - Method in record class com.yworkflow.instance.repository.AttributeEntity
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns a hash code value for this object.
- HashMutableAttributes - Class in com.yworkflow.definition.model.attribute
-
A mutable attributes implementation using a HashMap for storage.
- HashMutableAttributes() - Constructor for class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Creates a new empty HashMutableAttributes instance.
- HashMutableAttributes(HashMutableAttributes) - Constructor for class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Creates a new HashMutableAttributes instance by copying from another instance.
- HashMutableAttributes(Map<String, String>) - Constructor for class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Creates a new HashMutableAttributes instance with the specified string values.
- HasId<ID> - Interface in com.yworkflow.definition.model.base
-
Interface for objects that have a unique identifier.
- HasParent<T extends Model<T,
?>, P extends Model<?, ?>> - Interface in com.yworkflow.definition.model.base -
Interface for model elements that have a parent-child relationship with other model elements.
- historyStates() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns the value of the
historyStatesrecord component.
I
- id() - Method in record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Returns the value of the
idrecord component. - id() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
idrecord component. - id(ForkId) - Method in interface com.yworkflow.definition.model.builder.ForkBuilder
-
Sets the ID for the fork and returns a results stage fork builder for further configuration.
- id(JoinId) - Method in interface com.yworkflow.definition.model.builder.JoinBuilder
-
Sets the ID for the join and returns a default result stage join builder for further configuration.
- id(ResultId) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the ID for this conditional result.
- id(ResultId) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the ID for this result.
- id(StateId) - Method in interface com.yworkflow.definition.model.builder.StateBuilder
-
Sets the ID for the state and returns a buildable state builder for further configuration.
- id(TransitionId) - Method in interface com.yworkflow.definition.model.builder.TransitionBuilder
-
Sets the ID for the transition and returns a buildable transition builder for further configuration.
- ImmutableWorkflowCaller - Class in com.yworkflow.common.caller
-
Immutable implementation of WorkflowCaller that stores a caller identity string.
- ImmutableWorkflowCaller(String) - Constructor for class com.yworkflow.common.caller.ImmutableWorkflowCaller
-
Creates a new ImmutableWorkflowCaller with the specified caller identity.
- ImmutableWorkflowCallerContext - Record Class in com.yworkflow.common.caller
-
Immutable implementation of WorkflowCallerContext using a record.
- ImmutableWorkflowCallerContext(TenantId, WorkflowCaller) - Constructor for record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Creates an instance of a
ImmutableWorkflowCallerContextrecord class. - info() - Method in record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Returns the value of the
inforecord component. - init() - Method in interface com.yworkflow.definition.model.ExtensionProvider
-
Initializes the extension provider.
- init(WorkflowClock, Properties) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Initializes the workflow instance store with the provided clock and properties.
- init(ExtensionProvider, Properties) - Method in interface com.yworkflow.definition.model.converter.WorkflowConverter
-
Initializes the converter with the necessary dependencies and configuration.
- init(ExtensionProvider, Properties) - Method in interface com.yworkflow.definition.model.converter.WorkflowDefinitionReader
-
Initializes the reader with the necessary dependencies and configuration.
- init(ExtensionProvider, Properties) - Method in interface com.yworkflow.definition.WorkflowDefinitionFactory
-
Initializes the workflow definition factory with the specified extension provider and configuration properties.
- init(ExtensionProvider, Properties) - Method in interface com.yworkflow.definition.WorkflowDefinitionRepository
-
Initializes the repository with the necessary dependencies and configuration.
- init(WorkflowDefinitionId, TransitionId) - Method in interface com.yworkflow.WorkflowInstances
-
Creates a new workflow instance with the specified workflow definition ID and initial transition.
- init(WorkflowDefinitionId, TransitionId, Attributes) - Method in interface com.yworkflow.WorkflowInstances
-
Creates a new workflow instance with the specified workflow definition ID, initial transition, and input attributes.
- INITIAL_TRANSITION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Initial workflow transitions.
- InitializationException - Exception in com.yworkflow.instance.error
-
Exception thrown when workflow instance initialization fails.
- InitializationException() - Constructor for exception com.yworkflow.instance.error.InitializationException
-
Creates a new InitializationException with no detail message.
- InitializationException(String) - Constructor for exception com.yworkflow.instance.error.InitializationException
-
Creates a new InitializationException with the specified detail message.
- InitializationException(String, Throwable) - Constructor for exception com.yworkflow.instance.error.InitializationException
-
Creates a new InitializationException with the specified detail message and cause.
- InitializationException(Throwable) - Constructor for exception com.yworkflow.instance.error.InitializationException
-
Creates a new InitializationException with the specified cause.
- instances() - Method in interface com.yworkflow.WorkflowEngine
-
Returns the workflow instances manager for creating and managing workflow instances.
- INSTANT - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for instant (timestamp) values.
- INT - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for integer values.
- intercept(MutableAttributes) - Method in interface com.yworkflow.WorkflowInterceptor
-
Intercepts the MutableAttributes component, allowing for cross-cutting concerns to be applied to attribute operations.
- intercept(WorkflowInstance) - Method in interface com.yworkflow.WorkflowInterceptor
-
Intercepts the WorkflowInstance component, allowing for cross-cutting concerns to be applied to workflow instance operations.
- intercept(WorkflowDefinitions) - Method in interface com.yworkflow.WorkflowInterceptor
-
Intercepts the WorkflowDefinitions component, allowing for cross-cutting concerns to be applied to workflow definition operations.
- intercept(WorkflowEngine) - Method in interface com.yworkflow.WorkflowInterceptor
-
Intercepts the WorkflowEngine component, allowing for cross-cutting concerns to be applied to engine-level operations.
- intercept(WorkflowInstances) - Method in interface com.yworkflow.WorkflowInterceptor
-
Intercepts the WorkflowInstances component, allowing for cross-cutting concerns to be applied to workflow instance management operations.
- intercept(WorkflowTransaction) - Method in interface com.yworkflow.WorkflowInterceptor
-
Intercepts the WorkflowTransaction component, allowing for cross-cutting concerns to be applied to transactional operations.
- INVALID_ATTRIBUTE_REGISTER - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Attribute register is invalid.
- INVALID_COMMON_TRANSITION - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Common transition is invalid.
- INVALID_CONDITION - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Condition is invalid.
- INVALID_FORK_ID - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Fork references non-existent element.
- INVALID_FUNCTION - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Function is invalid.
- INVALID_INPUT_VALIDATOR - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Input validator is invalid.
- INVALID_JOIN_ID - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Join references non-existent element.
- INVALID_STATE_ID - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
State ID references non-existent state.
- InvalidInputException - Exception in com.yworkflow.extension.error
-
Exception thrown when workflow input validation fails.
- InvalidInputException(Object) - Constructor for exception com.yworkflow.extension.error.InvalidInputException
-
Creates a new InvalidInputException with the specified error object.
- InvalidStateException - Exception in com.yworkflow.instance.error
-
Exception thrown when an invalid state is encountered during workflow execution.
- InvalidStateException(StateId) - Constructor for exception com.yworkflow.instance.error.InvalidStateException
-
Creates a new InvalidStateException with the specified StateId.
- InvalidTransitionException - Exception in com.yworkflow.definition.model.error
-
Exception thrown when a transition is invalid or cannot be executed.
- InvalidTransitionException(TransitionId) - Constructor for exception com.yworkflow.definition.model.error.InvalidTransitionException
-
Creates a new InvalidTransitionException for the specified transition.
- InvalidWorkflowDefinitionException - Exception in com.yworkflow.instance.error
-
Exception thrown when a workflow definition is invalid or contains errors.
- InvalidWorkflowDefinitionException(List<ValidationError>) - Constructor for exception com.yworkflow.instance.error.InvalidWorkflowDefinitionException
-
Creates a new InvalidWorkflowDefinitionException with the specified validation errors.
- InvalidWorkflowInstanceStatusException - Exception in com.yworkflow.instance.error
-
Exception thrown when an invalid status transition is attempted on a workflow instance.
- InvalidWorkflowInstanceStatusException(WorkflowInstanceStatus, WorkflowInstanceStatus) - Constructor for exception com.yworkflow.instance.error.InvalidWorkflowInstanceStatusException
-
Creates a new InvalidWorkflowInstanceStatusException with the specified statuses.
- isActive() - Method in class com.yworkflow.instance.model.StateInstance
-
Checks whether this state instance is currently active.
- isAutoExecute() - Method in interface com.yworkflow.definition.model.Transition
-
Checks if this transition should be automatically executed when conditions are met.
- isAvailable(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Transition
-
Checks if this transition is available given the current attributes.
- isAvailableForState(WorkflowExecutionContext, StateId) - Method in interface com.yworkflow.definition.model.Transition
-
Checks if this transition is available for the specified state.
- isCommon() - Method in interface com.yworkflow.definition.model.Transition
-
Checks if this transition is a common transition (available from multiple states).
- isComplete() - Method in interface com.yworkflow.definition.model.Result
-
Checks if this result is complete.
- isEmpty() - Method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Checks if this registration is empty (has no type or value).
- isFinished() - Method in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
Checks if this status represents a finished workflow instance.
- isForkId() - Method in interface com.yworkflow.definition.model.value.DestinationId
-
Checks if this destination ID represents a fork.
- isForkId() - Method in class com.yworkflow.definition.model.value.ForkId
-
Returns true since this is a ForkId.
- isJoinId() - Method in interface com.yworkflow.definition.model.value.DestinationId
-
Checks if this destination ID represents a join.
- isJoinId() - Method in class com.yworkflow.definition.model.value.JoinId
-
Returns true since this is a JoinId.
- isStarted() - Method in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
Checks if this status represents a started workflow instance.
- isStateId() - Method in interface com.yworkflow.definition.model.value.DestinationId
-
Checks if this destination ID represents a state.
- isStateId() - Method in class com.yworkflow.definition.model.value.StateId
-
Returns true since this is a StateId.
J
- Join - Interface in com.yworkflow.definition.model
-
Represents a join operation in a workflow definition.
- JOIN - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Join operations for synchronizing parallel paths.
- JOIN_MISSING_RESULT - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Join is missing required result.
- JoinBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Join instances.
- joinId(String) - Static method in class com.yworkflow.definition.model.value.JoinId
-
Creates a new JoinId with the specified value and no name.
- joinId(String, String) - Static method in class com.yworkflow.definition.model.value.JoinId
-
Creates a new JoinId with the specified value and name.
- JoinId - Class in com.yworkflow.definition.model.value
-
Represents a unique identifier for a workflow join.
- JoinStateInstances - Interface in com.yworkflow.instance.model
-
Represents a collection of state instances that are being joined together.
K
- key() - Method in record class com.yworkflow.instance.repository.AttributeEntity
-
Returns the value of the
keyrecord component. - KILLED - Enum constant in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
The workflow instance has been terminated abnormally.
L
- LONG - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for long values.
M
- markCompleted(WorkflowCallerContext, StateInstance, TransitionId, Instant, ResultStatus) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Marks a state instance as completed with the specified transition and status.
- message() - Method in record class com.yworkflow.definition.model.validation.ValidationError
-
Returns the value of the
messagerecord component. - META - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Metadata elements.
- metaAttributes(Map<String, String>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Sets the meta attributes for this state.
- metaAttributes(Map<String, String>) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Sets the meta attributes for this transition.
- MISSING_BOOLEAN_OPERATOR - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Required boolean operator is missing.
- MISSING_CONDITION - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Required condition is missing.
- MISSING_NEXT_STATE - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Transition destination state is missing.
- MISSING_STATE_ID - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Required state ID is missing.
- MISSING_STATUS - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Required status is missing.
- MissingArgumentException - Exception in com.yworkflow.definition.model.extension.error
-
Runtime exception thrown when a required argument is missing.
- MissingArgumentException(String) - Constructor for exception com.yworkflow.definition.model.extension.error.MissingArgumentException
-
Creates a new MissingArgumentException with the specified message.
- Model<SELF,
ID> - Interface in com.yworkflow.definition.model.base -
Base interface for all workflow model elements.
- ModelElementType - Enum Class in com.yworkflow.definition.model.diff
-
Enumeration of workflow model element types.
- ModelId - Interface in com.yworkflow.definition.model.value
-
Base interface for all model identifiers in the workflow system.
- modifyFork(ForkId, Consumer<BuildableForkBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Modifies an existing fork in the workflow definition.
- modifyInitialTransition(TransitionId, Consumer<BuildableTransitionBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Modifies an existing initial transition in the workflow definition.
- modifyJoin(JoinId, Consumer<BuildableJoinBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Modifies an existing join in the workflow definition.
- modifyState(StateId, Consumer<BuildableStateBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Modifies an existing state in the workflow definition.
- modifyTransition(TransitionId, Consumer<BuildableTransitionBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Modifies an existing transition in this state using the provided transition builder consumer.
- moveToHistory(WorkflowCallerContext, StateInstance) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Moves a state instance to the history, marking it as no longer active.
- mutableAttributes() - Static method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new empty MutableAttributes instance.
- MutableAttributes - Interface in com.yworkflow.definition.model
-
Provides mutable access to workflow attributes.
- MutableWorkflowDefinition - Interface in com.yworkflow.definition.model
-
Mutable version of a WorkflowDefinition that allows direct modification of workflow elements.
- MutableWorkflowExecutionContext - Interface in com.yworkflow.instance.context
-
Interface for a modifiable workflow execution context.
N
- name(String) - Method in class com.yworkflow.definition.model.value.ForkId
-
Creates a new ForkId with the same value but a different name.
- name(String) - Method in class com.yworkflow.definition.model.value.JoinId
-
Creates a new JoinId with the same value but a different name.
- name(String) - Method in class com.yworkflow.definition.model.value.StateId
-
Creates a new StateId with the same value but a different name.
- name(String) - Method in class com.yworkflow.definition.model.value.TransitionId
-
Creates a new TransitionId instance with the same value but a different name.
- NAME_BOOLEAN - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for boolean attribute type.
- NAME_DATA - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for data (byte array) attribute type.
- NAME_DOUBLE - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for double attribute type.
- NAME_INSTANT - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for instant (timestamp) attribute type.
- NAME_INT - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for integer attribute type.
- NAME_LONG - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for long attribute type.
- NAME_OBJECT - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for object attribute type.
- NAME_STRING - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
String name for string attribute type.
- NO_INITIAL_TRANSITIONS - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
No initial transitions
- noOp() - Static method in interface com.yworkflow.WorkflowTransaction
- noReturn(WorkflowRunnable<T>) - Static method in interface com.yworkflow.common.WorkflowCallable
-
Creates a WorkflowCallable from a WorkflowRunnable.
- now() - Method in interface com.yworkflow.common.clock.WorkflowClock
-
Returns the current instant according to this clock.
O
- OBJECT - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for object values.
- OR - Enum constant in enum class com.yworkflow.definition.model.Conditions.Operator
-
OR operator - at least one condition must be true for the result to be true.
- orElse(String, ResultStatus) - Static method in class com.yworkflow.definition.model.value.ResultStatus
-
Creates a ResultStatus from the given value, returning the default if the value is null.
- OriginAware<SELF> - Interface in com.yworkflow.definition.model.update
-
Interface for model elements that are aware of their origin.
- originId() - Method in record class com.yworkflow.definition.model.FunctionContext
-
Returns the value of the
originIdrecord component. - orNull(String) - Static method in class com.yworkflow.definition.model.value.ResultId
-
Creates a ResultId from the given value, returning null if the value is null.
- orNull(String) - Static method in class com.yworkflow.definition.model.value.ResultStatus
-
Creates a ResultStatus from the given value, returning null if the value is null.
- orNull(String) - Static method in class com.yworkflow.definition.model.value.TransitionId
-
Creates a new TransitionId instance with the specified value, or returns null if the value is null.
- orNull(String, String) - Static method in class com.yworkflow.definition.model.value.ResultId
-
Creates a ResultId from the given value and name, returning null if the value is null.
- orNull(String, String) - Static method in class com.yworkflow.definition.model.value.StateId
-
Creates a StateId from the given value and name, returning null if the value is null.
- owners() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
ownersrecord component. - owners(String...) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the owners for this result using varargs.
- owners(List<String>) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the owners for this conditional result.
- owners(List<String>) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the owners for this result.
P
- POST_FUNCTION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Post-transition functions.
- postCommonTransition(StateId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for post-common transition execution.
- PostCommonTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed after a common transition.
- postConditionalResult(DestinationId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for post-conditional result execution.
- PostConditionalResult - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed after a conditional result.
- postDefaultResult(DestinationId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for post-default result execution.
- PostDefaultResult - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed after a default result.
- postFunctions(Iterable<Function>) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the post-functions for this conditional result.
- postFunctions(Iterable<Function>) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the post-functions for this result.
- postGlobalTransition(TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for post-global transition execution.
- PostGlobalTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed after a global transition.
- postInitialTransition(TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for post-initial transition execution.
- PostInitialTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed after an initial transition.
- postState(StateId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for post-state execution.
- PostState - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed after leaving a state.
- postStateTransition(StateId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for post-state transition execution.
- PostStateTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed after a state transition.
- PRE_FUNCTION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Pre-transition functions.
- preCommonTransition(StateId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for pre-common transition execution.
- PreCommonTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed before a common transition.
- preConditionalResult(DestinationId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for pre-conditional result execution.
- PreConditionalResult - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed before a conditional result.
- preDefaultResult(DestinationId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for pre-default result execution.
- PreDefaultResult - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed before a default result.
- preFunctions(Iterable<Function>) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the pre-functions for this conditional result.
- preFunctions(Iterable<Function>) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the pre-functions for this result.
- preFunctions(Iterable<Function>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Sets the pre-functions for this state using an iterable collection.
- preGlobalTransition(TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for pre-global transition execution.
- PreGlobalTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed before a global transition.
- preInitialTransition(TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for pre-initial transition execution.
- PreInitialTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed before an initial transition.
- preState(StateId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for pre-state execution.
- PreState - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed before entering a state.
- preStateTransition(StateId, TransitionId) - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for pre-state transition execution.
- PreStateTransition - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed before a state transition.
- previousStateInstanceIds() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
previousStateInstanceIdsrecord component. - PROCESSING - Enum constant in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
The workflow instance is actively processing a transition.
- ProcessingDetails - Record Class in com.yworkflow.instance.model
-
Represents a transition being processed.
- ProcessingDetails(TransitionId, OffsetDateTime) - Constructor for record class com.yworkflow.instance.model.ProcessingDetails
-
Creates an instance of a
ProcessingDetailsrecord class. - PROPERTY_VALUE - Enum constant in enum class com.yworkflow.definition.model.diff.ErrorType
-
An element that exists in both models but has different property values.
- propertyMissing(String) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Handles property missing for getting a value.
- propertyMissing(String) - Method in class com.yworkflow.definition.model.value.ResultStatus
-
Groovy-style property access method for dynamic property resolution.
- propertyMissing(String, String) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Handles property missing for setting a value.
- provider() - Static method in interface com.yworkflow.builder.WorkflowEngineBuilderProvider
-
Gets the current WorkflowEngineBuilderProvider instance.
- provider() - Static method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilderProvider
-
Gets the current provider instance.
- ProviderHolder() - Constructor for class com.yworkflow.builder.WorkflowEngineBuilderProvider.ProviderHolder
- ProviderHolder() - Constructor for class com.yworkflow.definition.model.builder.WorkflowDefinitionBuilderProvider.ProviderHolder
R
- read(Reader) - Method in interface com.yworkflow.definition.model.converter.WorkflowDefinitionReader
-
Reads a workflow definition from the specified reader.
- Register - Interface in com.yworkflow.definition.model
-
Represents a register that defines how to load transient attributes for a workflow.
- REGISTER - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Attribute registers.
- registerAttribute(WorkflowExecutionContext, Register) - Method in interface com.yworkflow.definition.model.extension.WorkflowAttributeRegister
-
Registers attributes by loading data from external sources and returns the loaded data for use in the workflow.
- registerAttribute(WorkflowExecutionContext, Register, Attributes) - Method in interface com.yworkflow.instance.extension.WorkflowInstanceAttributeRegister
-
Registers attributes for the workflow instance based on the register configuration.
- registerProvider(WorkflowEngineBuilderProvider) - Static method in interface com.yworkflow.builder.WorkflowEngineBuilderProvider
-
Manually registers a provider instance.
- registerProvider(WorkflowDefinitionBuilderProvider) - Static method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilderProvider
-
Registers a provider instance programmatically.
- remove() - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
- remove() - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Removes all attributes from this instance.
- remove(WorkflowCallerContext, WorkflowDefinitionId) - Method in interface com.yworkflow.definition.WorkflowDefinitionFactory
-
Removes a workflow definition by ID.
- remove(WorkflowDefinitionId) - Method in interface com.yworkflow.WorkflowDefinitions
-
Removes a workflow definition by its ID.
- remove(String) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
- remove(String) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Removes the attribute with the specified key.
- removeCommonTransition(TransitionId) - Method in interface com.yworkflow.definition.model.Transitions
-
Removes a common transition by its ID.
- removeFork(ForkId) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Removes a fork from the workflow.
- removeInitialTransition(TransitionId) - Method in interface com.yworkflow.definition.model.Transitions
-
Removes an initial transition by its ID.
- removeJoin(JoinId) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Removes a join from the workflow.
- removeState(StateId) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Removes a state from the workflow.
- removeTransition(Transition) - Method in interface com.yworkflow.definition.model.Transitions
-
Removes a transition from the workflow.
- resolve(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.extension.WorkflowAttributeResolver
-
Resolves all attributes and returns a new MutableAttributes instance with resolved values.
- resolve(WorkflowExecutionContext, Attributes) - Method in interface com.yworkflow.instance.extension.WorkflowInstanceAttributeResolver
-
Resolves multiple attributes and returns them as mutable attributes.
- resolve(WorkflowExecutionContext, String) - Method in interface com.yworkflow.definition.model.extension.WorkflowAttributeResolver
-
Resolves a single attribute reference or expression and returns the resolved value.
- resolve(WorkflowExecutionContext, String, Attributes) - Method in interface com.yworkflow.instance.extension.WorkflowInstanceAttributeResolver
-
Resolves a single attribute value based on the input key.
- Result<E extends Result<?>> - Interface in com.yworkflow.definition.model
-
Represents the result of executing a transition in a workflow.
- resultId(String) - Static method in class com.yworkflow.definition.model.value.ResultId
-
Creates a new ResultId with the specified value and no name.
- resultId(String, String) - Static method in class com.yworkflow.definition.model.value.ResultId
-
Creates a new ResultId with the specified value and name.
- ResultId - Class in com.yworkflow.definition.model.value
-
Represents a unique identifier for a workflow result.
- results() - Method in record class com.yworkflow.definition.model.diff.WorkflowDefinitionDiffResult
-
Returns the value of the
resultsrecord component. - resultsInJoin(JoinId) - Method in interface com.yworkflow.definition.model.State
-
Checks if this state results in the specified join.
- ResultsStageForkBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Fork instances with mandatory results.
- resultStatus() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
resultStatusrecord component. - resultStatus(String) - Static method in class com.yworkflow.definition.model.value.ResultStatus
-
Creates a new ResultStatus with the specified value.
- ResultStatus - Class in com.yworkflow.definition.model.value
-
Represents the status of a workflow result.
- run() - Method in interface com.yworkflow.common.WorkflowRunnable
-
Performs this operation.
S
- save(WorkflowCallerContext, WorkflowDefinitionId, WorkflowDefinition) - Method in interface com.yworkflow.definition.WorkflowDefinitionRepository
-
Saves a workflow definition to the repository.
- save(WorkflowCallerContext, WorkflowDefinition) - Method in interface com.yworkflow.definition.WorkflowDefinitionFactory
-
Saves a workflow definition.
- save(WorkflowCallerContext, WorkflowInstanceEntity) - Method in interface com.yworkflow.instance.WorkflowInstanceRepository
-
Saves a workflow instance entity to the repository.
- save(WorkflowDefinition) - Method in interface com.yworkflow.WorkflowDefinitions
-
Saves a workflow definition.
- script(String) - Static method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Creates a script registration for an extension.
- scriptCondition(String, String) - Method in interface com.yworkflow.definition.model.builder.ConditionsBuilder
-
Adds a script-based condition to the conditions' builder.
- scriptFunction(String, String) - Method in interface com.yworkflow.definition.model.builder.FunctionBuilder
-
Creates a script-based function with the specified value and script.
- scriptValidator(String, String) - Method in interface com.yworkflow.definition.model.builder.ValidatorBuilder
-
Creates a script-based validator with the specified value and script.
- SELF - Static variable in class com.yworkflow.definition.model.value.StateId
-
Represents a self-reference state ID, used to indicate that a transition should remain in the current state.
- setActive(boolean) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets whether this state instance is currently active.
- setAttributes(MutableAttributes) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setAttributes(MutableAttributes) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets all attributes from another MutableAttributes instance.
- setBoolean(String, boolean) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setBoolean(String, boolean) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets a boolean attribute value.
- setCaller(WorkflowCaller) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the caller who initiated this state instance.
- setCompletedAt(Instant) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the completion date for this state instance.
- setCreatedState(StateInstance) - Method in interface com.yworkflow.instance.context.MutableWorkflowExecutionContext
-
Sets the newly created state instance for this context.
- setData(String, byte[]) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setData(String, byte[]) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets a binary data attribute value.
- setDouble(String, double) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setDouble(String, double) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets a double attribute value.
- setDueAt(Instant) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the due date for this state instance.
- setGlobalConditions(Conditions) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Sets the global conditions for the workflow.
- setImpl(AttributeType<T>, String, T) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
-
Abstract method to set an attribute value with the specified type and key.
- setImpl(AttributeType<T>, String, T) - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Sets an attribute value with the specified type and key.
- setInstant(String, Instant) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setInstant(String, Instant) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets an Instant attribute value.
- setInt(String, int) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setInt(String, int) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets an integer attribute value.
- setJoinStateInstances(JoinStateInstances) - Method in interface com.yworkflow.instance.context.MutableWorkflowExecutionContext
-
Sets the join state instances for this context.
- setLong(String, long) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setLong(String, long) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets a long attribute value.
- setMetaAttributes(Map<String, String>) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Sets the meta attributes for the workflow.
- setName(String) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Sets the name of the workflow.
- setObject(String, Object) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setObject(String, Object) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets an object attribute value.
- setOwners(List<String>) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the list of owners responsible for this state instance.
- setPreviousStateIds(List<StateInstanceId>) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the list of previous state instance IDs.
- setRaw(AttributeType<T>, String, String) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
-
Sets a raw attribute value by converting a string value to the specified type.
- setRaw(String, Object) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
-
Sets a raw attribute value by automatically determining the type from the value.
- setRegisters(List<Register>) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Sets the attribute registers for the workflow.
- setStartedAt(Instant) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the start date for this state instance.
- setStateId(StateId) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the state ID that this instance represents.
- setStatus(ResultStatus) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the current status of this state instance.
- setString(String, String) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- setString(String, String) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Sets a string attribute value.
- setTransitionId(TransitionId) - Method in interface com.yworkflow.instance.context.MutableWorkflowExecutionContext
-
Sets the current transition ID for this context.
- setTransitionId(TransitionId) - Method in class com.yworkflow.instance.model.StateInstance
-
Sets the transition ID that led to this state instance.
- setTriggerFunction(String, Function) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Sets a trigger function for the workflow.
- shouldCheckType() - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Determines whether type checking should be performed.
- start(Attributes) - Method in interface com.yworkflow.instance.session.WorkflowSession
- STARTED - Enum constant in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
The workflow instance is actively running and executing.
- startedAt() - Method in record class com.yworkflow.instance.model.ProcessingDetails
-
Returns the value of the
startedAtrecord component. - startedAt() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
startedAtrecord component. - State - Interface in com.yworkflow.definition.model
-
Represents a state in a workflow definition.
- STATE - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Workflow states.
- StateBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating State instances.
- stateId() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
stateIdrecord component. - stateId(String) - Static method in class com.yworkflow.definition.model.value.StateId
-
Creates a new StateId with the specified value and no name.
- stateId(String, String) - Static method in class com.yworkflow.definition.model.value.StateId
-
Creates a new StateId with the specified value and name.
- StateId - Class in com.yworkflow.definition.model.value
-
Represents a unique identifier for a workflow state.
- StateInstance - Class in com.yworkflow.instance.model
-
Represents an instance of a state within a workflow execution.
- StateInstance(StateInstanceId, WorkflowInstanceId, StateId, TransitionId, List<String>, Instant, Instant, Instant, ResultStatus, List<StateInstanceId>, WorkflowCaller, boolean) - Constructor for class com.yworkflow.instance.model.StateInstance
-
Creates a new StateInstance with the specified parameters.
- StateInstanceEntity - Record Class in com.yworkflow.instance.repository
-
Represents a state instance entity in the repository layer.
- StateInstanceEntity(String, String, String, Instant, Instant, Instant, List<String>, List<String>, String, String) - Constructor for record class com.yworkflow.instance.repository.StateInstanceEntity
-
Creates an instance of a
StateInstanceEntityrecord class. - stateInstanceId(String) - Static method in class com.yworkflow.instance.model.value.StateInstanceId
-
Creates a new StateInstanceId with the specified value.
- StateInstanceId - Class in com.yworkflow.instance.model.value
-
Immutable value object representing a unique identifier for a workflow state instance.
- states() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns the value of the
statesrecord component. - status() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns the value of the
statusrecord component. - STOPPED - Enum constant in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
The workflow instance has been temporarily stopped.
- STRING - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
AttributeType instance for string values.
T
- tenantId() - Method in record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Returns the value of the
tenantIdrecord component. - tenantId() - Method in interface com.yworkflow.common.caller.WorkflowCallerContext
-
Returns the tenant ID associated with this caller context.
- tenantId(String) - Static method in class com.yworkflow.common.tenant.TenantId
-
Creates a new TenantId instance with the specified value.
- TenantId - Class in com.yworkflow.common.tenant
-
Represents a tenant identifier in the yWorkflow system.
- toBuilder() - Method in interface com.yworkflow.definition.model.Fork
-
Creates a new BuildableForkBuilder initialized with the current fork definition.
- toBuilder() - Method in interface com.yworkflow.definition.model.Join
-
Creates a new BuildableJoinBuilder initialized with the current join definition.
- toBuilder() - Method in interface com.yworkflow.definition.model.State
-
Creates a new BuildableStateBuilder initialized with the current state definition.
- toBuilder() - Method in interface com.yworkflow.definition.model.Transition
-
Creates a new BuildableTransitionBuilder initialized with the current transition definition.
- toBuilder() - Method in interface com.yworkflow.definition.model.WorkflowDefinition
-
Creates a new WorkflowDefinitionBuilder initialized with the current workflow definition.
- toImmutable() - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
- toImmutable() - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Converts this MutableAttributes instance to an ImmutableAttributes instance.
- toMap() - Method in interface com.yworkflow.definition.model.attribute.Attributes
-
Converts this Attributes instance to a Map representation.
- toMap() - Method in class com.yworkflow.definition.model.attribute.HashMutableAttributes
-
Converts this HashMutableAttributes to a Map of String keys to Object values.
- toResultBuilder() - Method in interface com.yworkflow.definition.model.DefaultResult
-
Converts this DefaultResult to an OptionalResultBuilder for modifications.
- toString() - Method in record class com.yworkflow.common.caller.ImmutableWorkflowCallerContext
-
Returns a string representation of this record class.
- toString() - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- toString() - Method in record class com.yworkflow.definition.model.attribute.AttributeEntry
-
Returns a string representation of this record class.
- toString() - Method in class com.yworkflow.definition.model.attribute.AttributeType
- toString() - Method in record class com.yworkflow.definition.model.diff.WorkflowDefinitionDiffResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Returns a string representation of this record class.
- toString() - Method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Returns a string representation of this record class.
- toString() - Method in record class com.yworkflow.definition.model.FunctionContext
-
Returns a string representation of this record class.
- toString() - Method in record class com.yworkflow.definition.model.validation.ValidationError
-
Returns a string representation of this record class.
- toString() - Method in class com.yworkflow.definition.model.value.ForkId
-
Returns a string representation of this ForkId.
- toString() - Method in class com.yworkflow.definition.model.value.JoinId
-
Returns a string representation of this JoinId.
- toString() - Method in class com.yworkflow.definition.model.value.ResultId
-
Returns a string representation of this ResultId.
- toString() - Method in class com.yworkflow.definition.model.value.ResultStatus
- toString() - Method in class com.yworkflow.definition.model.value.StateId
-
Returns a string representation of this StateId.
- toString() - Method in class com.yworkflow.definition.model.value.TransitionId
-
Returns a string representation of this TransitionId.
- toString() - Method in class com.yworkflow.definition.model.value.WorkflowDefinitionId
-
Returns a string representation of this WorkflowDefinitionId.
- toString() - Method in record class com.yworkflow.instance.model.ProcessingDetails
-
Returns a string representation of this record class.
- toString() - Method in class com.yworkflow.instance.model.StateInstance
- toString() - Method in class com.yworkflow.instance.model.value.StateInstanceId
- toString() - Method in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
Returns a string representation of this WorkflowInstanceId.
- toString() - Method in record class com.yworkflow.instance.repository.AttributeEntity
-
Returns a string representation of this record class.
- toString() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns a string representation of this record class.
- toString() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns a string representation of this record class.
- transaction() - Method in interface com.yworkflow.WorkflowEngine
-
Returns the transaction manager for executing workflow operations within transactions.
- transition(TransitionId) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Executes a transition with the specified ID using empty inputs.
- transition(TransitionId, Attributes) - Method in interface com.yworkflow.instance.model.WorkflowInstance
-
Executes a transition with the specified ID and input attributes.
- Transition - Interface in com.yworkflow.definition.model
-
Represents a transition between states in a workflow definition.
- TRANSITION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
State transitions.
- TRANSITION_WITH_CONDITIONAL_BUT_NO_FALLBACK - Enum constant in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Transition has conditional results but no default result.
- TransitionAware<SELF> - Interface in com.yworkflow.definition.model.update
-
Interface for model elements that are aware of their transition.
- TransitionBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Transition instances.
- transitionId() - Method in record class com.yworkflow.definition.model.FunctionContext
-
Returns the value of the
transitionIdrecord component. - transitionId() - Method in record class com.yworkflow.instance.model.ProcessingDetails
-
Returns the value of the
transitionIdrecord component. - transitionId() - Method in record class com.yworkflow.instance.repository.StateInstanceEntity
-
Returns the value of the
transitionIdrecord component. - transitionId(String) - Static method in class com.yworkflow.definition.model.value.TransitionId
-
Creates a new TransitionId instance with the specified value and no name.
- transitionId(String, String) - Static method in class com.yworkflow.definition.model.value.TransitionId
-
Creates a new TransitionId instance with the specified value and name.
- TransitionId - Class in com.yworkflow.definition.model.value
-
Represents a unique identifier for a transition within a workflow.
- transitions() - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Gets the transitions manager for this workflow.
- transitions(Iterable<Transition>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Sets the transitions for this state using an iterable collection of pre-built transitions.
- Transitions - Interface in com.yworkflow.definition.model
-
Manages transitions within a workflow definition.
- trigger() - Static method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a function context for trigger execution.
- Trigger - Enum constant in enum class com.yworkflow.definition.model.FunctionType
-
Function executed in response to a trigger event.
- TRIGGER_FUNCTION - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Trigger functions.
- type() - Method in record class com.yworkflow.definition.model.attribute.AttributeEntry
-
Returns the value of the
typerecord component. - type() - Method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Returns the value of the
typerecord component. - type() - Method in record class com.yworkflow.definition.model.validation.ValidationError
-
Returns the value of the
typerecord component. - type() - Method in record class com.yworkflow.instance.repository.AttributeEntity
-
Returns the value of the
typerecord component. - type(String) - Static method in class com.yworkflow.definition.model.attribute.AttributeType
-
Gets an AttributeType by its string name.
U
- UnresolvableExtensionException - Exception in com.yworkflow.definition.model.extension.error
-
Runtime exception thrown when a workflow extension cannot be resolved by the ExtensionProvider.
- UnresolvableExtensionException(String, ExtensionRegistration) - Constructor for exception com.yworkflow.definition.model.extension.error.UnresolvableExtensionException
-
Creates a new UnresolvableExtensionException with the specified extension name and registration details.
- update(WorkflowCallerContext, WorkflowDefinition) - Method in interface com.yworkflow.definition.WorkflowDefinitionFactory
-
Updates an existing workflow definition.
- update(WorkflowDefinition) - Method in interface com.yworkflow.WorkflowDefinitions
-
Updates an existing workflow definition.
- updateFork(Fork) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Updates an existing fork in the workflow.
- updateInitialTransition(Transition) - Method in interface com.yworkflow.definition.model.Transitions
-
Updates an existing initial transition.
- updateJoin(Join) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Updates an existing join in the workflow.
- updateState(State) - Method in interface com.yworkflow.definition.model.MutableWorkflowDefinition
-
Updates an existing state in the workflow.
- updateWorkflowInstanceStatus(WorkflowCallerContext, WorkflowInstanceId, WorkflowInstanceStatus) - Method in interface com.yworkflow.instance.WorkflowInstanceStore
-
Updates the status of a workflow instance.
V
- Validatable - Interface in com.yworkflow.definition.model.validation
-
Interface for objects that can be validated.
- validate() - Method in interface com.yworkflow.definition.model.validation.Validatable
-
Validates this object and returns a list of validation errors.
- validate(WorkflowExecutionContext, Validator) - Method in interface com.yworkflow.definition.model.extension.WorkflowInputValidator
-
Validates the input data against the validator rules and throws an exception if validation fails.
- validate(WorkflowExecutionContext, Validator, Attributes) - Method in interface com.yworkflow.instance.extension.WorkflowInstanceInputValidator
-
Validates workflow inputs based on the validator configuration.
- validate(String, String) - Static method in class com.yworkflow.definition.model.value.ValueValidator
-
Validates that a value is not null or empty.
- ValidationError - Record Class in com.yworkflow.definition.model.validation
-
Represents a validation error in the workflow system.
- ValidationError(ValidationErrorType, String) - Constructor for record class com.yworkflow.definition.model.validation.ValidationError
-
Creates an instance of a
ValidationErrorrecord class. - ValidationErrorType - Enum Class in com.yworkflow.definition.model.validation
-
Enumeration of validation error types that can occur during workflow model validation.
- Validator - Interface in com.yworkflow.definition.model
-
Represents a validator that can verify workflow inputs or state.
- VALIDATOR - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Input validators.
- ValidatorBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating Validator instances.
- validators(Iterable<Validator>) - Method in interface com.yworkflow.definition.model.builder.BuildableConditionalResultBuilder
-
Sets the validators for this conditional result.
- validators(Iterable<Validator>) - Method in interface com.yworkflow.definition.model.builder.BuildableResultBuilder
-
Sets the validators for this result.
- value() - Method in class com.yworkflow.common.caller.ImmutableWorkflowCaller
-
Returns the optional caller identity string.
- value() - Method in interface com.yworkflow.common.caller.WorkflowCaller
-
Returns the optional string value representing the caller's identity.
- value() - Method in record class com.yworkflow.definition.model.attribute.AttributeEntry
-
Returns the value of the
valuerecord component. - value() - Method in record class com.yworkflow.definition.model.extension.ExtensionRegistration
-
Returns the value of the
valuerecord component. - value() - Method in record class com.yworkflow.instance.repository.AttributeEntity
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class com.yworkflow.definition.model.Conditions.Operator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yworkflow.definition.model.diff.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yworkflow.definition.model.FunctionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.yworkflow.definition.model.Conditions.Operator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yworkflow.definition.model.diff.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yworkflow.definition.model.diff.ModelElementType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yworkflow.definition.model.FunctionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yworkflow.definition.model.validation.ValidationErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.yworkflow.instance.model.WorkflowInstanceStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VALUES - Static variable in class com.yworkflow.definition.model.attribute.AttributeType
-
Set containing all predefined AttributeType instances.
- ValueValidator - Class in com.yworkflow.definition.model.value
-
Utility class for validating value objects used in the workflow system.
- ValueValidator() - Constructor for class com.yworkflow.definition.model.value.ValueValidator
- verify(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Validator
-
Verifies the given attributes against this validator's rules.
- verifyInputs(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Result
-
Verifies that all required inputs are present and valid for this result.
- verifyInputs(WorkflowExecutionContext) - Method in interface com.yworkflow.definition.model.Transition
-
Verifies the inputs for this transition against all validators.
W
- with(WorkflowCallerContext) - Method in interface com.yworkflow.instance.session.WorkflowSession
-
Creates a new session with the specified caller context.
- with(WorkflowCallerContext) - Method in interface com.yworkflow.WorkflowDefinitions
-
Creates a new WorkflowDefinitions instance that operates with the specified caller context.
- with(WorkflowCallerContext) - Method in interface com.yworkflow.WorkflowInstances
-
Creates a new WorkflowInstances instance that operates with the specified caller context.
- withAttributes(MutableAttributes) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withAttributes(MutableAttributes) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with all attributes from another instance.
- withBoolean(String, boolean) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withBoolean(String, boolean) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified boolean value.
- withCallerContext(WorkflowCallerContext) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Configures the workflow engine with a default caller context.
- withClock(WorkflowClock) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Configures the workflow engine with a custom clock.
- withCommonTransition(TransitionId) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Sets the common transition IDs for this state using varargs.
- withCommonTransition(Consumer<TransitionBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Adds a common transition to the workflow definition.
- withConditionalResult(Consumer<ConditionalResultBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Adds a conditional result to this transition using the provided conditional result builder consumer.
- withConditions(Conditions.Operator, Consumer<ConditionsBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableJoinBuilder
-
Adds conditions to this join using the specified operator and conditions builder consumer.
- withConditions(Conditions.Operator, Consumer<ConditionsBuilder>) - Method in interface com.yworkflow.definition.model.builder.ConditionsStageConditionalResultBuilder
-
Adds conditions to this conditional result using the specified operator and conditions builder consumer.
- withConditions(Consumer<ConditionsBuilder>) - Method in interface com.yworkflow.definition.model.builder.ConditionsStageConditionalResultBuilder
-
Adds conditions to this conditional result using the conditions builder consumer with default operator.
- withData(String, byte[]) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withData(String, byte[]) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified binary data value.
- withDefaultResult(Consumer<DefaultResultBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableJoinBuilder
-
Adds a default result to this join using the provided result builder consumer.
- withDefaultResult(Consumer<DefaultResultBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Adds a default result to this transition using the provided result builder consumer.
- withDefaultResult(Consumer<DefaultResultBuilder>) - Method in interface com.yworkflow.definition.model.builder.DefaultResultStageJoinBuilder
-
Adds a default result to this join using the provided result builder consumer.
- withDefinitionRepository(WorkflowDefinitionRepository) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Configures the workflow engine to use the specified workflow definition repository.
- withDouble(String, double) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withDouble(String, double) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified double value.
- withExtensions(ExtensionProvider) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Configures the workflow engine with an extension provider.
- withExtensions(ExtensionProvider) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Configures the workflow definition with an extension provider.
- withFactory(WorkflowDefinitionFactory) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Configures the workflow engine to use the specified workflow definition factory.
- withFork(Consumer<ForkBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Adds a fork to the workflow definition.
- withFunctionContext(FunctionContext) - Method in interface com.yworkflow.definition.model.Function
-
Creates a new Function instance with the specified function context.
- withGlobalAttributes(Attributes) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Configures the workflow engine with global attributes.
- withGlobalCondition(Conditions.Operator, Consumer<ConditionsBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Adds global conditions to the workflow definition.
- withGlobalTransition(Consumer<TransitionBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Adds a global transition to the workflow definition.
- withGuards(Conditions.Operator, Consumer<ConditionsBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Adds guard conditions to this transition using the specified operator and conditions builder consumer.
- withId(WorkflowDefinitionId) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Sets the ID of the workflow definition.
- withId(String) - Method in interface com.yworkflow.definition.model.Function
-
Creates a new Function instance with the specified ID.
- withInitialTransition(Consumer<TransitionBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Adds an initial transition to the workflow definition.
- withInstanceRepository(WorkflowInstanceRepository) - Method in interface com.yworkflow.builder.WorkflowEngineBuilder
-
Configures the workflow engine to use the specified instance repository.
- withInstanceStore(WorkflowInstanceStore) - Method in interface com.yworkflow.builder.WorkflowEngineBuilder
-
Configures the workflow engine to use the specified instance store.
- withInstant(String, Instant) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withInstant(String, Instant) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified Instant value.
- withInt(String, int) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withInt(String, int) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified integer value.
- withJoin(Consumer<JoinBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Adds a join to the workflow definition.
- withLong(String, long) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withLong(String, long) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified long value.
- withName(String) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Sets the name of the workflow definition.
- withObject(String, Object) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withObject(String, Object) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified object value.
- withOriginId(DestinationId) - Method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a new FunctionContext with the specified origin ID.
- withOriginId(DestinationId) - Method in interface com.yworkflow.definition.model.update.OriginAware
-
Sets the origin ID for this element and returns the updated instance.
- withoutCommonTransition(TransitionId) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Removes a common transition from the workflow definition.
- withoutFork(ForkId) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Removes a fork from the workflow definition.
- withoutInitialTransition(TransitionId) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Removes an initial transition from the workflow definition.
- withoutJoin(JoinId) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Removes a join from the workflow definition.
- withoutResults() - Method in interface com.yworkflow.definition.model.builder.BuildableForkBuilder
-
Removes all results from this fork.
- withoutState(StateId) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Removes a state from the workflow definition.
- withoutTransition(TransitionId) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Removes a transition from this state.
- withParent(Model<?, ?>) - Method in interface com.yworkflow.definition.model.Conditions
-
Creates a copy of these conditions with a new parent.
- withParent(P) - Method in interface com.yworkflow.definition.model.base.HasParent
-
Creates a new instance of this model element with the specified parent.
- withPostFunction(Consumer<FunctionBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Adds a post-function to this state using the provided function builder consumer.
- withPostFunction(Consumer<FunctionBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Adds a post-function to this transition using the provided function builder consumer.
- withPreFunction(Consumer<FunctionBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Adds a pre-function to this state using the provided function builder consumer.
- withPreFunction(Consumer<FunctionBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Adds a pre-function to this transition using the provided function builder consumer.
- withProperties(Properties) - Method in interface com.yworkflow.builder.WorkflowInstanceOptionalBuilder
-
Configures the workflow engine with the specified properties.
- withProperties(Properties) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Configures the workflow definition with properties.
- withResult(Consumer<DefaultResultBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableForkBuilder
-
Adds a result to this fork using the provided result builder consumer.
- withResult(Consumer<DefaultResultBuilder>) - Method in interface com.yworkflow.definition.model.builder.ResultsStageForkBuilder
-
Adds a result to this fork using the provided result builder consumer.
- withState(Consumer<StateBuilder>) - Method in interface com.yworkflow.definition.model.builder.WorkflowDefinitionBuilder
-
Adds a state to the workflow definition.
- withString(String, String) - Method in class com.yworkflow.definition.model.attribute.AbstractMutableAttributes
- withString(String, String) - Method in interface com.yworkflow.definition.model.MutableAttributes
-
Creates a new MutableAttributes instance with the specified string value.
- withTransition(Consumer<TransitionBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableStateBuilder
-
Adds a transition to this state using the provided transition builder consumer.
- withTransitionId(TransitionId) - Method in record class com.yworkflow.definition.model.FunctionContext
-
Creates a new FunctionContext with the specified transition ID.
- withTransitionId(TransitionId) - Method in interface com.yworkflow.definition.model.update.TransitionAware
-
Sets the transition ID for this element and returns the updated instance.
- withValidator(Consumer<ValidatorBuilder>) - Method in interface com.yworkflow.definition.model.builder.BuildableTransitionBuilder
-
Adds a validator to this transition using the provided validator builder consumer.
- WORKFLOW - Enum constant in enum class com.yworkflow.definition.model.diff.ModelElementType
-
The root workflow element.
- WorkflowAttributeRegister<T> - Interface in com.yworkflow.definition.model.extension
-
Interface for implementing custom workflow attribute registers.
- WorkflowAttributeResolver - Interface in com.yworkflow.definition.model.extension
-
Interface for implementing custom workflow attribute resolvers.
- WorkflowCallable<R,
T extends Throwable> - Interface in com.yworkflow.common -
A functional interface that represents a task that returns a result and potentially throws a checked exception.
- WorkflowCaller - Interface in com.yworkflow.common.caller
-
Represents a caller in the yWorkflow system.
- WorkflowCallerContext - Interface in com.yworkflow.common.caller
-
Represents the context of a caller in the yWorkflow system, combining both the caller identity and tenant information.
- WorkflowClock - Interface in com.yworkflow.common.clock
-
Provides time-related functionality for the yWorkflow engine.
- WorkflowCondition - Interface in com.yworkflow.definition.model.extension
-
Interface for implementing custom workflow conditions.
- WorkflowConverter<T> - Interface in com.yworkflow.definition.model.converter
-
Interface for converting between Workflow objects and other representations.
- WorkflowDefinition - Interface in com.yworkflow.definition.model
-
Represents a complete workflow definition.
- WorkflowDefinitionBuilder - Interface in com.yworkflow.definition.model.builder
-
Builder interface for creating and configuring WorkflowDefinition instances.
- WorkflowDefinitionBuilderProvider - Interface in com.yworkflow.definition.model.builder
-
Provider interface for creating WorkflowDefinitionBuilder instances.
- WorkflowDefinitionBuilderProvider.ProviderHolder - Class in com.yworkflow.definition.model.builder
-
Holder class for the registered provider instance.
- WorkflowDefinitionDiffResult - Record Class in com.yworkflow.definition.model.diff
-
Represents the result of comparing two workflow models.
- WorkflowDefinitionDiffResult(List<WorkflowDiffResultItem>) - Constructor for record class com.yworkflow.definition.model.diff.WorkflowDefinitionDiffResult
-
Creates an instance of a
WorkflowDefinitionDiffResultrecord class. - WorkflowDefinitionFactory - Interface in com.yworkflow.definition
-
Factory interface for creating, retrieving, and managing workflow definitions.
- workflowDefinitionId() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns the value of the
workflowDefinitionIdrecord component. - workflowDefinitionId(String) - Static method in class com.yworkflow.definition.model.value.WorkflowDefinitionId
-
Creates a new WorkflowDefinitionId instance with the specified value.
- WorkflowDefinitionId - Class in com.yworkflow.definition.model.value
-
Represents a unique identifier for a workflow definition.
- WorkflowDefinitionReader - Interface in com.yworkflow.definition.model.converter
-
Interface for reading workflow definitions from various input sources.
- WorkflowDefinitionRepository - Interface in com.yworkflow.definition
-
Repository interface for managing workflow definitions.
- WorkflowDefinitions - Interface in com.yworkflow
-
Manages workflow definitions within the yWorkflow engine.
- WorkflowDefinitionWriter - Interface in com.yworkflow.definition.model.converter
-
Interface for writing workflow definitions to various output formats.
- WorkflowDiffResultItem - Record Class in com.yworkflow.definition.model.diff
-
Represents a single difference item in a workflow model comparison result.
- WorkflowDiffResultItem(Object, List<String>, ErrorType) - Constructor for record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Creates a new WorkflowDiffResultItem without additional info.
- WorkflowDiffResultItem(Object, List<String>, ErrorType, String) - Constructor for record class com.yworkflow.definition.model.diff.WorkflowDiffResultItem
-
Creates an instance of a
WorkflowDiffResultItemrecord class. - WorkflowEngine - Interface in com.yworkflow
-
The main entry point for the yWorkflow engine.
- WorkflowEngineBuilder - Interface in com.yworkflow.builder
-
Builder interface for creating a WorkflowEngine instance.
- WorkflowEngineBuilderProvider - Interface in com.yworkflow.builder
-
Provider interface for creating WorkflowEngineBuilder instances.
- WorkflowEngineBuilderProvider.ProviderHolder - Class in com.yworkflow.builder
-
A private static class to hold the mutable provider instance.
- WorkflowException - Exception in com.yworkflow.common.error
-
Base exception class for all workflow-related errors in the yWorkflow engine.
- WorkflowException() - Constructor for exception com.yworkflow.common.error.WorkflowException
-
Constructs a new WorkflowException with no detail message and no cause.
- WorkflowException(String) - Constructor for exception com.yworkflow.common.error.WorkflowException
-
Constructs a new WorkflowException with the specified detail message.
- WorkflowException(String, Throwable) - Constructor for exception com.yworkflow.common.error.WorkflowException
-
Constructs a new WorkflowException with the specified detail message and cause.
- WorkflowException(Throwable) - Constructor for exception com.yworkflow.common.error.WorkflowException
-
Constructs a new WorkflowException with the specified cause.
- WorkflowExecutionContext - Interface in com.yworkflow.instance.context
-
Represents the execution context of a call made on a workflow instance.
- WorkflowFactoryException - Exception in com.yworkflow.definition
-
Exception thrown when workflow factory operations fail.
- WorkflowFactoryException(Exception) - Constructor for exception com.yworkflow.definition.WorkflowFactoryException
-
Creates a new WorkflowFactoryException with the specified cause.
- WorkflowFactoryException(String) - Constructor for exception com.yworkflow.definition.WorkflowFactoryException
-
Creates a new WorkflowFactoryException with the specified message.
- WorkflowFactoryException(String, Exception) - Constructor for exception com.yworkflow.definition.WorkflowFactoryException
-
Creates a new WorkflowFactoryException with the specified message and cause.
- WorkflowFunction<A,
R, T extends Throwable> - Interface in com.yworkflow.common -
A functional interface that represents a function that takes one argument and returns a result, potentially throwing a checked exception.
- WorkflowFunction - Interface in com.yworkflow.definition.model.extension
-
Interface for implementing custom workflow functions.
- WorkflowInputValidator - Interface in com.yworkflow.definition.model.extension
-
Interface for implementing custom workflow input validators.
- WorkflowInstance - Interface in com.yworkflow.instance.model
-
Represents a running workflow instance.
- WorkflowInstanceAttributeRegister<T> - Interface in com.yworkflow.instance.extension
-
Interface for implementing custom workflow instance attribute registers.
- WorkflowInstanceAttributeResolver - Interface in com.yworkflow.instance.extension
-
Interface for implementing custom workflow instance attribute resolvers.
- WorkflowInstanceCondition - Interface in com.yworkflow.instance.extension
-
Interface for implementing custom workflow instance conditions.
- WorkflowInstanceEntity - Record Class in com.yworkflow.instance.repository
-
Represents a workflow instance entity in the repository layer.
- WorkflowInstanceEntity(String, String, String, List<StateInstanceEntity>, List<StateInstanceEntity>, List<AttributeEntity>) - Constructor for record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Creates an instance of a
WorkflowInstanceEntityrecord class. - WorkflowInstanceExtension - Interface in com.yworkflow.instance.extension
-
Base interface for all workflow instance extensions.
- WorkflowInstanceFunction - Interface in com.yworkflow.instance.extension
-
Interface for implementing custom workflow instance functions.
- workflowInstanceId() - Method in record class com.yworkflow.instance.repository.WorkflowInstanceEntity
-
Returns the value of the
workflowInstanceIdrecord component. - workflowInstanceId(String) - Static method in class com.yworkflow.instance.model.value.WorkflowInstanceId
-
Creates a new WorkflowInstanceId instance with the specified value.
- WorkflowInstanceId - Class in com.yworkflow.instance.model.value
-
Represents a unique identifier for a workflow instance.
- WorkflowInstanceInputValidator - Interface in com.yworkflow.instance.extension
-
Interface for implementing custom workflow instance input validators.
- WorkflowInstanceOptionalBuilder - Interface in com.yworkflow.builder
-
Optional builder interface for configuring additional components of a WorkflowEngine.
- WorkflowInstanceRepository - Interface in com.yworkflow.instance
-
Repository interface for managing workflow instance entities.
- WorkflowInstances - Interface in com.yworkflow
-
Manages workflow instances within the yWorkflow engine.
- WorkflowInstanceStatus - Enum Class in com.yworkflow.instance.model
-
Represents the current status of a workflow instance.
- WorkflowInstanceStatusInfo - Class in com.yworkflow.instance.model
-
Representation of the workflow instance's current status.
- WorkflowInstanceStatusInfo(WorkflowInstanceStatus) - Constructor for class com.yworkflow.instance.model.WorkflowInstanceStatusInfo
-
Constructor for simple statuses
- WorkflowInstanceStatusInfo(WorkflowInstanceStatus, ProcessingDetails) - Constructor for class com.yworkflow.instance.model.WorkflowInstanceStatusInfo
-
Constructor for a PROCESSING status with details
- WorkflowInstanceStore - Interface in com.yworkflow.instance
-
Interface for storing and managing workflow instance data.
- WorkflowInstanceStoreEntity - Class in com.yworkflow.instance.store
-
Represents a workflow instance store entity.
- WorkflowInstanceStoreEntity(TenantId, WorkflowInstanceId, WorkflowDefinitionId, WorkflowInstanceStatus) - Constructor for class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Creates a new WorkflowInstanceStoreEntity with the specified parameters leaving processing (transition ID and started at) data empty.
- WorkflowInstanceStoreEntity(TenantId, WorkflowInstanceId, WorkflowDefinitionId, WorkflowInstanceStatus, TransitionId, OffsetDateTime) - Constructor for class com.yworkflow.instance.store.WorkflowInstanceStoreEntity
-
Creates a new WorkflowInstanceStoreEntity with the specified parameters.
- WorkflowInstanceStoreException - Exception in com.yworkflow.instance.store
-
Runtime exception thrown when workflow instance store operations fail.
- WorkflowInstanceStoreException(String) - Constructor for exception com.yworkflow.instance.store.WorkflowInstanceStoreException
-
Creates a new WorkflowInstanceStoreException with the specified detail message.
- WorkflowInstanceStoreException(String, Throwable) - Constructor for exception com.yworkflow.instance.store.WorkflowInstanceStoreException
-
Creates a new WorkflowInstanceStoreException with the specified detail message and cause.
- WorkflowInstanceStoreException(Throwable) - Constructor for exception com.yworkflow.instance.store.WorkflowInstanceStoreException
-
Creates a new WorkflowInstanceStoreException with the specified cause.
- WorkflowInterceptor - Interface in com.yworkflow
-
Provides interception capabilities for workflow engine components.
- WorkflowRunnable<T extends Throwable> - Interface in com.yworkflow.common
-
A functional interface that represents an operation that takes no arguments, returns no result, and potentially throws a checked exception.
- WorkflowRuntimeException - Exception in com.yworkflow.common.error
-
Runtime exception thrown when internal workflow engine issues occur that are not related to business logic or user input validation.
- WorkflowRuntimeException() - Constructor for exception com.yworkflow.common.error.WorkflowRuntimeException
-
Constructs a new WorkflowRuntimeException with no detail message.
- WorkflowRuntimeException(String) - Constructor for exception com.yworkflow.common.error.WorkflowRuntimeException
-
Constructs a new WorkflowRuntimeException with the specified detail message.
- WorkflowRuntimeException(String, Throwable) - Constructor for exception com.yworkflow.common.error.WorkflowRuntimeException
-
Constructs a new WorkflowRuntimeException with the specified detail message and cause.
- WorkflowRuntimeException(Throwable) - Constructor for exception com.yworkflow.common.error.WorkflowRuntimeException
-
Constructs a new WorkflowRuntimeException with the specified cause.
- WorkflowSession - Interface in com.yworkflow.instance.session
-
Represents a session for workflow instance execution.
- WorkflowTransaction - Interface in com.yworkflow
-
Provides transactional support for workflow operations.
- WorkflowTransactionalOperation<R,
T extends Throwable> - Interface in com.yworkflow.transaction -
Functional interface for transactional operations that return a result.
- WorkflowTransactionalVoidOperation<T extends Throwable> - Interface in com.yworkflow.transaction
-
Functional interface for transactional operations that do not return a result.
- write(WorkflowDefinition, Writer) - Method in interface com.yworkflow.definition.model.converter.WorkflowDefinitionWriter
-
Writes a workflow definition to the specified writer.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form