public class WikipediaEditEvent extends Object
Constructor and Description |
---|
WikipediaEditEvent(long timestamp,
String channel,
String title,
String diffUrl,
String user,
int byteDiff,
String summary,
boolean isMinor,
boolean isNew,
boolean isUnpatrolled,
boolean isBotEdit,
boolean isSpecial,
boolean isTalk) |
Modifier and Type | Method and Description |
---|---|
static WikipediaEditEvent |
fromRawEvent(long timestamp,
String channel,
String rawEvent) |
int |
getByteDiff() |
String |
getChannel() |
String |
getDiffUrl() |
String |
getSummary() |
long |
getTimestamp()
Returns the timestamp when this event arrived at the source.
|
String |
getTitle() |
String |
getUser() |
boolean |
isBotEdit() |
boolean |
isMinor() |
boolean |
isNew() |
boolean |
isSpecial() |
boolean |
isTalk() |
boolean |
isUnpatrolled() |
String |
toString() |
public long getTimestamp()
public String getChannel()
public String getTitle()
public String getDiffUrl()
public String getUser()
public int getByteDiff()
public String getSummary()
public boolean isMinor()
public boolean isNew()
public boolean isUnpatrolled()
public boolean isBotEdit()
public boolean isSpecial()
public boolean isTalk()
public static WikipediaEditEvent fromRawEvent(long timestamp, String channel, String rawEvent)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.