org.peabody.emailprocessor
Class AbstractMessageHook

java.lang.Object
  extended by org.peabody.emailprocessor.AbstractMessageHook
All Implemented Interfaces:
MessageHook
Direct Known Subclasses:
RegexMessageHook

public abstract class AbstractMessageHook
extends java.lang.Object
implements MessageHook


Field Summary
protected  java.lang.String category
           
protected  java.lang.String id
           
 
Constructor Summary
AbstractMessageHook()
           
 
Method Summary
 java.lang.String getCategory()
           
 java.lang.String getId()
           
 void setCategory(java.lang.String aCategory)
           
 void setId(java.lang.String aId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.peabody.emailprocessor.MessageHook
getMatch
 

Field Detail

id

protected java.lang.String id

category

protected java.lang.String category
Constructor Detail

AbstractMessageHook

public AbstractMessageHook()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface MessageHook

setId

public void setId(java.lang.String aId)
Specified by:
setId in interface MessageHook

getCategory

public java.lang.String getCategory()
Specified by:
getCategory in interface MessageHook

setCategory

public void setCategory(java.lang.String aCategory)
Specified by:
setCategory in interface MessageHook