Uses of Enum Class
cloud.opencode.base.flow.model.VoteOpinion
Packages that use VoteOpinion
Package
Description
Public API surface for the flow engine (4 services exposed to the host).
Package-private engine internals (DefaultFlowEngine / StepEvaluator / TransitionResolver / HistoryWriter).
Domain models for the flow engine (immutable records).
Seven approval operation handlers (approve / vote / reject / addSign / withdraw / transfer / circulate).
7 个审批动作处理器(同意 / 投票 / 驳回 / 加签 / 撤回 / 转办 / 抄送)。
Persistence layer (InMemory + JDBC repositories with dialect abstraction).
JDBC repository (MySQL / PostgreSQL / H2) with dialect abstraction and SqlBuilder.
In-memory repository implementation for unit tests and quick demos (M3).
-
Uses of VoteOpinion in cloud.opencode.base.flow.api
Methods in cloud.opencode.base.flow.api with parameters of type VoteOpinionModifier and TypeMethodDescriptionvoidTaskService.vote(String taskId, String userId, VoteOpinion opinion, String comment) Vote action (records vote and marks task DONE). -
Uses of VoteOpinion in cloud.opencode.base.flow.internal
Methods in cloud.opencode.base.flow.internal with parameters of type VoteOpinionModifier and TypeMethodDescriptionvoidDefaultTaskService.vote(String taskId, String userId, VoteOpinion opinion, String comment) -
Uses of VoteOpinion in cloud.opencode.base.flow.model
Subclasses with type arguments of type VoteOpinion in cloud.opencode.base.flow.modelMethods in cloud.opencode.base.flow.model that return VoteOpinionModifier and TypeMethodDescriptionVoteRecord.opinion()Returns the value of theopinionrecord component.static VoteOpinionReturns the enum constant of this class with the specified name.static VoteOpinion[]VoteOpinion.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in cloud.opencode.base.flow.model with parameters of type VoteOpinionModifierConstructorDescriptionVoteRecord(String id, String taskId, String voterId, VoteOpinion opinion, Instant votedAt) Compact constructor; validates required fields. -
Uses of VoteOpinion in cloud.opencode.base.flow.operation
Methods in cloud.opencode.base.flow.operation with parameters of type VoteOpinionModifier and TypeMethodDescriptionvoidVoteOperation.execute(Task task, FlowDefinition def, VoteOpinion opinion, String comment) Execute the vote action. -
Uses of VoteOpinion in cloud.opencode.base.flow.persistence
Methods in cloud.opencode.base.flow.persistence with parameters of type VoteOpinionModifier and TypeMethodDescriptionvoidFlowRepository.recordVote(String taskId, String voterId, VoteOpinion opinion) Records a single vote at aStepType.VOTEstep. -
Uses of VoteOpinion in cloud.opencode.base.flow.persistence.jdbc
Methods in cloud.opencode.base.flow.persistence.jdbc with parameters of type VoteOpinionModifier and TypeMethodDescriptionvoidJdbcFlowRepository.recordVote(String taskId, String voterId, VoteOpinion opinion) -
Uses of VoteOpinion in cloud.opencode.base.flow.persistence.memory
Methods in cloud.opencode.base.flow.persistence.memory with parameters of type VoteOpinionModifier and TypeMethodDescriptionvoidInMemoryFlowRepository.recordVote(String taskId, String voterId, VoteOpinion opinion)