Package com.apama.dashboard.security
Interface IMacroPreprocessor
- 
 public interface IMacroPreprocessorIMacroPreprocessor class provides a hook for user to resolve macros inside any attachment strings in the Instance Table Query attachment.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classIMacroPreprocessor.ATTACHMENT_TYPEEnum type to indicate the type of attachment when the process() method is called.
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringUSERNAME
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringprocess(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.
 
- 
- 
- 
Field Detail- 
USERNAMEstatic final java.lang.String USERNAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
processjava.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 string
- attachmentType- - the type of attachment
- extraParams- - 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.
 
 
- 
 
-