org.kohsuke.stopforumspam
Class Answer

java.lang.Object
  extended by org.kohsuke.stopforumspam.Answer

public class Answer
extends Object

Answer to the query.

Author:
Kohsuke Kawaguchi

Constructor Summary
Answer()
           
 
Method Summary
 int getFrequency()
           
 Date getLastSeen()
          When did this user last reported in the spam database? null if isAppears() is false.
 Type getType()
          Type of the query.
 String getValue()
          The actual value of the query for the specified query type
 boolean isAppears()
          Does this record appear in the spam database?
 void setAppears(boolean appears)
           
 void setFrequency(int frequency)
           
 void setLastSeen(Date lastSeen)
           
 void setType(Type type)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Answer

public Answer()
Method Detail

getType

public Type getType()
Type of the query.


setType

public void setType(Type type)

isAppears

public boolean isAppears()
Does this record appear in the spam database?


setAppears

public void setAppears(boolean appears)

getFrequency

public int getFrequency()

setFrequency

public void setFrequency(int frequency)

getLastSeen

public Date getLastSeen()
When did this user last reported in the spam database? null if isAppears() is false.


setLastSeen

public void setLastSeen(Date lastSeen)

getValue

public String getValue()
The actual value of the query for the specified query type


setValue

public void setValue(String value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.