You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/10/23 05:51:59 UTC

[GitHub] [shardingsphere-elasticjob] wwj-go opened a new issue #1643: JobScheduler constructor parameters 'elasticJob' and 'elasticJobType' cannot be empty or null

wwj-go opened a new issue #1643:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1643


     ```
    public JobScheduler(final CoordinatorRegistryCenter regCenter, final ElasticJob elasticJob, final JobConfiguration jobConfig) 
    public JobScheduler(final CoordinatorRegistryCenter regCenter, final String elasticJobType, final JobConfiguration jobConfig) 
   ```
   
   Check `JobScheduler  `constructor parameters 'elasticJob' and 'elasticJobType' cannot be empty or null, otherwise an IllegalArgumentException will be thrown. Because a null or empty elasticJob/elasticJobType is confusing.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] terrymanu closed issue #1643: JobScheduler constructor parameters 'elasticJob' and 'elasticJobType' cannot be empty or null

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #1643:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1643


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org