|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cert.cc.jira.email.handler.CustomFieldDescription
public final class CustomFieldDescription
CustomFieldDescription holds the information for populating a CustomField
with either static data from
the Application.properties or via regex extraction from a part of a incoming Message
.
CustomFieldDescription is immutable.
© 2010 Carnegie Mellon University
Constructor Summary | |
---|---|
CustomFieldDescription(String name,
String value,
String input)
Constructor |
Method Summary | |
---|---|
String |
getInput()
|
String |
getName()
|
String |
getValue()
|
boolean |
isBodyBased()
Returns if the regex input data comes from the Message 's body |
boolean |
isRegExBased()
Returns if this description uses a regular expression |
boolean |
isSubjectBased()
Returns if the regex input data comes from the Message 's subject |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomFieldDescription(String name, String value, String input)
name
- CustomField
namevalue
- Static value or regexinput
- If not null, the regex input data fieldMethod Detail |
---|
public boolean isRegExBased()
public boolean isSubjectBased()
Message
's subject
public boolean isBodyBased()
Message
's body
public String getName()
CustomField
namepublic String getValue()
public String getInput()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |