com.apama.dashboard.security
Interface IMacroPreprocessor
public interface IMacroPreprocessor
IMacroPreprocessor class provides a hook for user to resolve macros
inside any attachment strings in the Instance Table Query attachment.
Field Summary |
static java.lang.String |
USERNAME
|
Method Summary |
java.lang.String |
process(IMacroPreprocessor.ATTACHMENT_TYPE attachmentType,
java.lang.String input,
java.util.Map<java.lang.String,java.lang.String> extraParams)
This method is called right before we process the attachment strings
so customer's implementation will have a chance to resolve any macros
according to the extraParam entries. |
USERNAME
static final java.lang.String USERNAME
- See Also:
- Constant Field Values
process
java.lang.String process(IMacroPreprocessor.ATTACHMENT_TYPE attachmentType,
java.lang.String input,
java.util.Map<java.lang.String,java.lang.String> extraParams)
- This method is called right before we process the attachment strings
so customer's implementation will have a chance to resolve any macros
according to the extraParam entries.
- Parameters:
input
- - the attachment stringattachmentType
- - the type of attachmentextraParams
- - a map of string value pairs. As of today, only "user"
key is available in the map and value of which is the authenticated user
- Returns:
- The resolved attachment. The original input should be returned
if no patching is done.
Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG