public interface IJEMHFieldProcessor extends IJEMHModuleProvider, IJEMHFieldProcessorKeys
IJEMHFieldProcessorKeys.AvailableProcessors
ADDITIONAL_MAP_VALUES_KEY, CONTENT_ID_FILENAME_MAP, CUSTOM_DIRECTIVES, DEFAULT_ISSUE_LINK_DIRECTION, DEFEAT_REPORTER_OVERRIDE_CHECK, DIRECTIVE_DEFINED_ISSUE, JEMH_INTERNAL_KEY_PREFIX, JOIN_GROUP_TO_CUSTOM_FIELD, JOIN_GROUP_TO_PROJECT_ROLE, KEY_AFFECTS_VERSIONS, KEY_ASSIGNEE, KEY_ATTACHMENTS, KEY_CC_USERS, KEY_COMMENT, KEY_COMPONENTS, KEY_DESCRIPTION, KEY_DUE_DATE, KEY_DUE_DATE_FORMAT, KEY_EMAIL_SENDER_USERID, KEY_ENVIRONMENT, KEY_FALLBACK_EMAIL_SUBJECT_SUMMARY, KEY_FIELD_PROCESSOR_HINT, KEY_FIX_VERSIONS, KEY_ISSUE_KEY, KEY_ISSUE_TEMPLATE, KEY_ISSUETYPE, KEY_JSD_AGENT_INTERNAL_COMMENT, KEY_JSD_APPROVAL, KEY_JSD_APPROVAL_DECISION, KEY_LABELS, KEY_LINKTO, KEY_LOG_WORK_DONE, KEY_NOTIFY_ON_EDIT, KEY_ORGANIZATIONS, KEY_OVERRIDE_HINTOGRAM_EMAIL_DELIVERY_ADDRESS, KEY_PARAM, KEY_PARENT_ISSUE_KEY, KEY_PRIORITY, KEY_PROJECT, KEY_REPORTER, KEY_SECURITY_LEVEL, KEY_SPRINT, KEY_STRIP_COMMENTS, KEY_SUMMARY, KEY_VIEWABLE, KEY_VOTE, KEY_WATCHERS, KEY_WORK_ESTIMATE, KEY_WORKFLOW, KEY_WORKFLOW_PARAMS, KEY_WORKFLOW_RESOLUTION, KEY_WORKLOG, KEY_WORKLOG_KEEP_ESTIMATE, KEY_WORKLOG_NEW_REMAINING_ESTIMATE, KEY_WORKLOG_PARAMS, KEY_WORKLOG_START_DATE, KEY_WORKLOG_TIME_SPENT, KEY_WORKLOG_VIEWABLE_GROUP, KEY_WORKLOG_VIEWABLE_ROLE, KEY_WORKLOG_VIEWAWBLE, PROJECT_MAPPING_RULE, RAW_MESSAGE, STANDARD_JIRA_ISSUE_ATTRIBUTES, STRIPPED_BODY_CONTENT
Modifier and Type | Method and Description |
---|---|
void |
copyTo(int id)
Handlers should duplicate their locally stored resources, against the given id KEY that relates to the JEMH profile involved.
|
IJEMHFieldProcessorContext |
getContext()
Provides JEMH with a reference to the processors init params
|
String |
getExecutionLog() |
int |
getFieldCount() |
Collection<Map<String,Object>> |
getFieldMaps() |
void |
handleDelete()
JEMH can delete profiles, which should also delete any resources that a handler has allocated.
|
void |
init(IJEMHFieldProcessorContext context) |
boolean |
isHandlerOptOutOfJEMHPostConfig()
JEMH applies much configuration over the top of provided directives, for example, attachment extraction as well as provision of Project Mapping derived values and more.
|
boolean |
isHandlerOwnsMessage() |
getDescription, getKey, getName, getStatus, getVendor, getVendorUrl, isUsable
void init(IJEMHFieldProcessorContext context)
context
- providing access to everything requiredIJEMHFieldProcessorContext getContext()
boolean isHandlerOwnsMessage()
boolean isHandlerOptOutOfJEMHPostConfig()
int getFieldCount()
Collection<Map<String,Object>> getFieldMaps() throws FieldProcessorException
FieldProcessorException
- if it breaksvoid handleDelete()
void copyTo(int id)
id
- the idString getExecutionLog()
Copyright © 2008–2020 The Plugin People. All rights reserved.