public abstract class AccountPlugin extends Object implements Plugin
| Constructor and Description |
|---|
AccountPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Account |
getAccount()
Getter for the account this plugin is working for.
|
void |
load()
Loads this task
|
void |
setAccount(Account account)
Setter for the account this plugin is working for.
|
void |
shutdown()
Stops this task.
|
boolean |
start()
Starts this task
|
public void setAccount(Account account)
PluginsetAccount in interface Pluginaccount - The account object were working forpublic Account getAccount()
Pluginnull, this plugin is not loadedgetAccount in interface Pluginpublic void load()
throws Exception
TaskServiceload in interface TaskServiceException - when loading failedpublic boolean start()
TaskServicestart in interface TaskServicetrue if loaded successful. otherwise falsepublic void shutdown()
TaskServiceshutdown in interface TaskServiceCopyright © 2019. All rights reserved.