Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to set password even if my password is very strong

Pravin Kumar
April 5, 2023

Screenshot (1174).pngGetting this error unable to continue after this page

1 answer

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
May 26, 2018

Hello,

If you're writing your own plugin, it is possible. You can change scheduled task's parameters via UI.

Assume you have MyScheduledTask

public class MyScheduledTask implements JobRunner{
String parameter = "DEFAULT_VALUE";

public void register() {
parameter = getStoredParameter();
/* do something.... */
schedulerService.registerJobRunner(...);
schedulerService.scheduleJob(...);
}

public void unregister() {
schedulerService.unregisterJobRunner(...);
}

public JobRunnerResponse runJob(JobRunnerRequest request) {
/* do something */
}

}

From your UI,

- save stored parameter, scheduled task will read the value via getStroredParameter()

- call scheduled task's unregister and register methods in order.

It should work

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events