Merge pull request #26651 from MichelTenVoorde
* pr/26651: Polish "Update reference to deprecated CronSequenceGenerator" Update reference to deprecated CronSequenceGenerator Closes gh-26651
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -85,7 +85,7 @@ public @interface Scheduled {
|
||||
* trigger, primarily meant for externally specified values resolved by a
|
||||
* <code>${...}</code> placeholder.
|
||||
* @return an expression that can be parsed to a cron schedule
|
||||
* @see org.springframework.scheduling.support.CronSequenceGenerator
|
||||
* @see org.springframework.scheduling.support.CronExpression#parse(String)
|
||||
*/
|
||||
String cron() default "";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,8 +20,8 @@ import org.springframework.scheduling.support.CronTrigger;
|
||||
|
||||
/**
|
||||
* {@link TriggerTask} implementation defining a {@code Runnable} to be executed according
|
||||
* to a {@linkplain org.springframework.scheduling.support.CronSequenceGenerator standard
|
||||
* cron expression}.
|
||||
* to a {@linkplain org.springframework.scheduling.support.CronExpression#parse(String)
|
||||
* standard cron expression}.
|
||||
*
|
||||
* @author Chris Beams
|
||||
* @since 3.2
|
||||
|
||||
@@ -244,7 +244,7 @@
|
||||
<xsd:attribute name="cron" type="xsd:string" use="optional">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation><![CDATA[
|
||||
A cron-based trigger. See the org.springframework.scheduling.support.CronSequenceGenerator
|
||||
A cron-based trigger. See the org.springframework.scheduling.support.CronExpression#parse
|
||||
JavaDoc for example patterns.
|
||||
]]></xsd:documentation>
|
||||
</xsd:annotation>
|
||||
|
||||
Reference in New Issue
Block a user