public enum GuideRelationAlignmentStrategy extends java.lang.Enum<GuideRelationAlignmentStrategy>
枚举常量和说明 |
---|
TRIPARTITE_CHANNEL
双方都有数据或都无数据时以三方为准,其它以数据链路源头为准(下行以有赞为准、上行以三方为准)
|
TRIPARTITE_FORCE
强制以三方为准,null 也会覆盖
|
TRIPARTITE_MERGE
双方都有数据或都无数据时以三方为准,否则以有数据的一方为准
|
YOUZAN_CHANNEL
双方都有数据或都无数据时以有赞为准,其它以数据链路源头为准(下行以有赞为准、上行以三方为准)
|
YOUZAN_FORCE
强制以有赞为准,null 也会覆盖
|
YOUZAN_MERGE
双方都有数据或都无数据时以有赞为准,否则以有数据的一方为准
|
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
strategy |
限定符和类型 | 方法和说明 |
---|---|
static GuideRelationAlignmentStrategy |
defaultStrategy()
全局默认策略,优先级最低,为兜底策略
|
static GuideRelationAlignmentStrategy |
ofStrategy(java.lang.String strategy) |
static GuideRelationAlignmentStrategy |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static GuideRelationAlignmentStrategy[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final GuideRelationAlignmentStrategy YOUZAN_FORCE
public static final GuideRelationAlignmentStrategy YOUZAN_MERGE
public static final GuideRelationAlignmentStrategy YOUZAN_CHANNEL
public static final GuideRelationAlignmentStrategy TRIPARTITE_FORCE
public static final GuideRelationAlignmentStrategy TRIPARTITE_MERGE
public static final GuideRelationAlignmentStrategy TRIPARTITE_CHANNEL
public static GuideRelationAlignmentStrategy[] values()
for (GuideRelationAlignmentStrategy c : GuideRelationAlignmentStrategy.values()) System.out.println(c);
public static GuideRelationAlignmentStrategy valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public static GuideRelationAlignmentStrategy defaultStrategy()
public static GuideRelationAlignmentStrategy ofStrategy(java.lang.String strategy)