public class LogEvents extends MWAction implements Iterator<LogItem>, Iterable<LogItem>
| Modifier and Type | Field and Description |
|---|---|
static String |
BLOCK
value for the bllimit-parameter
|
static String |
DELETE |
static String |
IMPORT |
static String |
MERGE |
static String |
MOVE |
static String |
PATROL |
static String |
PROTECT |
static String |
RIGHTS |
static String |
UPLOAD |
| Constructor and Description |
|---|
LogEvents(MediaWikiBot bot,
int limit,
String type) |
LogEvents(MediaWikiBot bot,
int limit,
String[] type) |
LogEvents(MediaWikiBot bot,
String type)
information necessary to get the next api page.
|
LogEvents(MediaWikiBot bot,
String[] type) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
HttpAction |
getNextMessage() |
boolean |
hasNext() |
boolean |
isSelfExecuter()
Deprecated.
see super
|
Iterator<LogItem> |
iterator() |
LogItem |
next() |
String |
processAllReturningText(String s) |
void |
remove() |
createNsString, evaluateXpath, getErrorElement, getRootElement, getRootElementWithError, hasMoreMessages, processReturningText, setExceptionHandler, setHasMoreMessagespublic static final String BLOCK
public static final String PROTECT
public static final String RIGHTS
public static final String DELETE
public static final String UPLOAD
public static final String MOVE
public static final String IMPORT
public static final String PATROL
public static final String MERGE
public LogEvents(MediaWikiBot bot, String type)
type - of like MOVEpublic LogEvents(MediaWikiBot bot, String[] type)
type - of like MOVEpublic LogEvents(MediaWikiBot bot, int limit, String type)
limit - of eventstype - of like MOVEpublic LogEvents(MediaWikiBot bot, int limit, String[] type)
limit - of eventstype - of like MOVEpublic String processAllReturningText(String s)
processAllReturningText in class MWActions - the returning textpublic HttpAction getNextMessage()
getNextMessage in interface ContentProcessableprotected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException@Deprecated public boolean isSelfExecuter()
isSelfExecuter in interface ContentProcessableisSelfExecuter in class MWActionCopyright © 2013. All Rights Reserved.