Class TaskRule

    • Constructor Detail

      • TaskRule

        public TaskRule()
      • TaskRule

        public TaskRule​(TaskRule 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.
    • Method Detail

      • getRuleType

        public String getRuleType()
        Get 触发规则类型, Cron/Repeat
        Returns:
        RuleType 触发规则类型, Cron/Repeat
      • setRuleType

        public void setRuleType​(String RuleType)
        Set 触发规则类型, Cron/Repeat
        Parameters:
        RuleType - 触发规则类型, Cron/Repeat
      • getExpression

        public String getExpression()
        Get Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Expression Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。
      • setExpression

        public void setExpression​(String Expression)
        Set Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Expression - Cron类型规则,cron表达式。 注意:此字段可能返回 null,表示取不到有效值。
      • getRepeatInterval

        public Long getRepeatInterval()
        Get 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        RepeatInterval 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。
      • setRepeatInterval

        public void setRepeatInterval​(Long RepeatInterval)
        Set 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        RepeatInterval - 时间间隔, 单位毫秒 注意:此字段可能返回 null,表示取不到有效值。