OneTimeTokenToFile

public class OneTimeTokenToFile implements Job

Constructors

OneTimeTokenToFile

public OneTimeTokenToFile()

Methods

execute

public void execute(JobExecutionContext context)

getFile

public String getFile()

getSchedule

public String getSchedule()

init

public void init(Config config)

If no schedule was set, immediately write the config to file, else schedule the job.

output

public static void output(OneTimeAuthenticationToken t, String file)

output

public static void output(OneTimeAuthenticationToken t, File file)

setFile

public void setFile(String file)

setSchedule

public void setSchedule(String schedule)