Package org.keycloak.models.workflow
Record Class RestartWorkflowStepProvider
java.lang.Object
java.lang.Record
org.keycloak.models.workflow.RestartWorkflowStepProvider
- All Implemented Interfaces:
WorkflowStepProvider,Provider
public record RestartWorkflowStepProvider(int position)
extends Record
implements WorkflowStepProvider
-
Constructor Summary
ConstructorsConstructorDescriptionRestartWorkflowStepProvider(int position) Creates an instance of aRestartWorkflowStepProviderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intposition()Returns the value of thepositionrecord component.voidrun(WorkflowExecutionContext context) Run this workflow step.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.keycloak.models.workflow.WorkflowStepProvider
getNotificationMessage, getNotificationSubject
-
Constructor Details
-
RestartWorkflowStepProvider
public RestartWorkflowStepProvider(int position) Creates an instance of aRestartWorkflowStepProviderrecord class.- Parameters:
position- the value for thepositionrecord component
-
-
Method Details
-
run
Description copied from interface:WorkflowStepProviderRun this workflow step.- Specified by:
runin interfaceWorkflowStepProvider- Parameters:
context- the workflow execution context
-
close
public void close() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
position
public int position()Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-