public final class ActivityStreamCleaner extends Object
Modifier and Type | Method and Description |
---|---|
static ActivityStreamCleaner |
getInstance() |
static int |
getNumberOfDaysToKeep(XWikiContext context) |
void |
init(XWikiContext context)
Method that must be called on plugin init.
|
public static ActivityStreamCleaner getInstance()
public static int getNumberOfDaysToKeep(XWikiContext context)
context
- the XWiki contextpublic void init(XWikiContext context) throws XWikiException
context
- the XWiki contextXWikiException
- if the job creation failedCopyright © 2004–2019 XWiki. All rights reserved.