public final class JsonAnonymousProcessServiceBuilder extends Object
AnonymousProcessService
from JSON config and AnonymousProcessService requirements.public static JsonAnonymousProcessServiceBuilder newBuilder()
public JsonAnonymousProcessServiceBuilder withClassLoader(ClassLoader classLoader)
classLoader
- the ClassLoaderpublic JsonAnonymousProcessServiceBuilder withStageConfigMapping(String name, Class<? extends StageConfig> type)
name
- the name
attribute value to associate with the new stage config typetype
- the StageConfig
type to associatepublic JsonAnonymousProcessServiceBuilder withJsonConfig(JsonValue jsonConfig)
ProcessInstanceConfig
.jsonConfig
- the JSON config for a ProcessInstanceConfig
.public JsonAnonymousProcessServiceBuilder withProgressStageProvider(ProgressStageProvider progressStageProvider)
ProgressStageProvider
.progressStageProvider
- the ProgressStageProvider
.public JsonAnonymousProcessServiceBuilder withTokenHandlerFactory(SnapshotTokenHandlerFactory tokenHandlerFactory)
SnapshotTokenHandlerFactory
.tokenHandlerFactory
- the SnapshotTokenHandlerFactory
.public JsonAnonymousProcessServiceBuilder withProcessStore(ProcessStore processStore)
ProcessStore
.processStore
- the ProcessStore
.public AnonymousProcessService build()
AnonymousProcessService
from the JSON config and the other elements.AnonymousProcessService
Copyright © 2025 Open Identity Platform Community. All rights reserved.