|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JunkScore
Field Summary | |
---|---|
static java.lang.String |
JUNK_SCORE
The key for the JunkScore Object which holds scores per mail |
static java.lang.String |
JUNK_SCORE_ATTR
|
static java.lang.String |
JUNK_SCORE_COMPOSED_ATTR
|
static java.lang.String |
JUNK_SCORE_SESSION
The key for the JunkScore Object which holds scores per SMTPSession |
static java.lang.String |
JUNK_SCORE_SESSION_ATTR
|
Method Summary | |
---|---|
double |
getCompleteStoredScores()
Return the summary of stored scores |
double |
getStoredScore(java.lang.String key)
Return the score for the given key. |
java.util.Map |
getStoredScores()
Return a copy of the Map which contains the keys with the correspending scores |
double |
resetStoredScores()
Reset the all stored scores in the map. |
double |
setStoredScore(java.lang.String key,
double score)
Set the score for the given key. |
Field Detail |
---|
static final java.lang.String JUNK_SCORE_SESSION
static final java.lang.String JUNK_SCORE
static final java.lang.String JUNK_SCORE_SESSION_ATTR
static final java.lang.String JUNK_SCORE_ATTR
static final java.lang.String JUNK_SCORE_COMPOSED_ATTR
Method Detail |
---|
double getCompleteStoredScores()
java.util.Map getStoredScores()
double getStoredScore(java.lang.String key)
key
- the key to get the score for
double setStoredScore(java.lang.String key, double score)
key
- the key under which the score should be storedscore
- the store to score
double resetStoredScores()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |