It might be better to return a list of jobs that have a certain name, then
the caller can decide what to do with each, including remove.
On Sep 6, 2016 5:34 AM, "Sven Homburg (JIRA)" <j...@apache.org> wrote:

>
>     [ https://issues.apache.org/jira/browse/TAP5-2562?page=
> com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=15466965#comment-15466965 ]
>
> Sven Homburg commented on TAP5-2562:
> ------------------------------------
>
> yes, i share your demur.
> my suggestion;
>
> public void removeJob(String name) throws RemoveJobException
>
> so we can raise an exception if there more than one job with the same name
> or one, if there no job with the given name.
>
> what do you think about?
>
> > remove periodic job from PeriodicExecutor by name
> > -------------------------------------------------
> >
> >                 Key: TAP5-2562
> >                 URL: https://issues.apache.org/jira/browse/TAP5-2562
> >             Project: Tapestry 5
> >          Issue Type: Wish
> >          Components: tapestry-ioc
> >    Affects Versions: 5.4.1
> >            Reporter: Sven Homburg
> >            Priority: Minor
> >
> > it would nice to let us remove a periodic job from executor by the name
> of the job.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>

Reply via email to