public class RepeatStrategy extends AbstractModel
header, skipSign
Constructor and Description |
---|
RepeatStrategy() |
RepeatStrategy(RepeatStrategy source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
DayRepeatStrategy |
getDayRepeat()
Get 按天重复规则,当RepeatType为"DAY"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getExpire()
Get 规则过期时间,超过该时间后,规则将自动置为暂停状态,形式为"2020-07-23 00:00:00"。
注意:此字段可能返回 null,表示取不到有效值。
|
MonthRepeatStrategy |
getMonthRepeat()
Get 按月重复规则,当RepeatType为"DOM"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
NotRepeatStrategy |
getNotRepeat()
Get 一次执行规则,当RepeatType为"NONE"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRepeatType()
Get 取值范围"DAY","DOW","DOM","NONE",分别表示按天重复、按周重复、按月重复和一次执行。
|
WeekRepeatStrategy |
getWeekRepeat()
Get 按周重复规则,当RepeatType为"DOW"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDayRepeat(DayRepeatStrategy DayRepeat)
Set 按天重复规则,当RepeatType为"DAY"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setExpire(String Expire)
Set 规则过期时间,超过该时间后,规则将自动置为暂停状态,形式为"2020-07-23 00:00:00"。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMonthRepeat(MonthRepeatStrategy MonthRepeat)
Set 按月重复规则,当RepeatType为"DOM"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setNotRepeat(NotRepeatStrategy NotRepeat)
Set 一次执行规则,当RepeatType为"NONE"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRepeatType(String RepeatType)
Set 取值范围"DAY","DOW","DOM","NONE",分别表示按天重复、按周重复、按月重复和一次执行。
|
void |
setWeekRepeat(WeekRepeatStrategy WeekRepeat)
Set 按周重复规则,当RepeatType为"DOW"时有效
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RepeatStrategy()
public RepeatStrategy(RepeatStrategy source)
public String getRepeatType()
public void setRepeatType(String RepeatType)
RepeatType
- 取值范围"DAY","DOW","DOM","NONE",分别表示按天重复、按周重复、按月重复和一次执行。public DayRepeatStrategy getDayRepeat()
public void setDayRepeat(DayRepeatStrategy DayRepeat)
DayRepeat
- 按天重复规则,当RepeatType为"DAY"时有效
注意:此字段可能返回 null,表示取不到有效值。public WeekRepeatStrategy getWeekRepeat()
public void setWeekRepeat(WeekRepeatStrategy WeekRepeat)
WeekRepeat
- 按周重复规则,当RepeatType为"DOW"时有效
注意:此字段可能返回 null,表示取不到有效值。public MonthRepeatStrategy getMonthRepeat()
public void setMonthRepeat(MonthRepeatStrategy MonthRepeat)
MonthRepeat
- 按月重复规则,当RepeatType为"DOM"时有效
注意:此字段可能返回 null,表示取不到有效值。public NotRepeatStrategy getNotRepeat()
public void setNotRepeat(NotRepeatStrategy NotRepeat)
NotRepeat
- 一次执行规则,当RepeatType为"NONE"时有效
注意:此字段可能返回 null,表示取不到有效值。public String getExpire()
public void setExpire(String Expire)
Expire
- 规则过期时间,超过该时间后,规则将自动置为暂停状态,形式为"2020-07-23 00:00:00"。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.