public static class OkrObjective.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
OkrObjective |
build() |
OkrObjective.Builder |
categoryId(String categoryId)
OKR 分类 ID
示例值:7436592808418344995
|
OkrObjective.Builder |
content(String content)
Objective 内容
示例值:需求@刘三
|
OkrObjective.Builder |
id(String id)
Objective ID
示例值:7073360513731690515
|
OkrObjective.Builder |
keyResults(OkrObjectiveKr[] keyResults)
Objective KeyResult 列表
示例值:
|
OkrObjective.Builder |
progressRate(OkrProgressRate progressRate)
Objective进度
示例值:
|
OkrObjective.Builder |
score(Integer score)
Objective 分数(0 - 100)
示例值:100
|
OkrObjective.Builder |
weight(Double weight)
Objective的权重(0 - 100)
示例值:40
|
public OkrObjective.Builder id(String id)
示例值:7073360513731690515
id - public OkrObjective.Builder content(String content)
示例值:需求@刘三
content - public OkrObjective.Builder score(Integer score)
示例值:100
score - public OkrObjective.Builder weight(Double weight)
示例值:40
weight - public OkrObjective.Builder progressRate(OkrProgressRate progressRate)
示例值:
progressRate - public OkrObjective.Builder keyResults(OkrObjectiveKr[] keyResults)
示例值:
keyResults - public OkrObjective.Builder categoryId(String categoryId)
示例值:7436592808418344995
categoryId - public OkrObjective build()
Copyright © 2025. All rights reserved.