Class WikipediaEditEvent


  • public class WikipediaEditEvent
    extends Object
    Instances of this class represent edits made on Wikipedia.
    • Constructor Detail

      • WikipediaEditEvent

        public 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)
    • Method Detail

      • getTimestamp

        public long getTimestamp()
        Returns the timestamp when this event arrived at the source.
        Returns:
        The timestamp assigned at the source.
      • getChannel

        public String getChannel()
      • getTitle

        public String getTitle()
      • getDiffUrl

        public String getDiffUrl()
      • getUser

        public String getUser()
      • getByteDiff

        public int getByteDiff()
      • getSummary

        public String getSummary()
      • isMinor

        public boolean isMinor()
      • isNew

        public boolean isNew()
      • isUnpatrolled

        public boolean isUnpatrolled()
      • isBotEdit

        public boolean isBotEdit()
      • isSpecial

        public boolean isSpecial()
      • isTalk

        public boolean isTalk()