public class AlertDeliveryContext extends Object
| Constructor and Description |
|---|
AlertDeliveryContext(com.bmc.arsys.pluginsvr.plugins.ARPluginContext innerContext,
List<com.bmc.arsys.api.Value> rawInValueList) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlertId() |
String |
getAlertText() |
com.bmc.arsys.pluginsvr.plugins.ARPluginContext |
getInnerContext() |
Map<String,String> |
getPluginArgs() |
Map<String,String> |
getPluginEncryptedArgs() |
List<com.bmc.arsys.api.Value> |
getRawInValueList() |
String |
getUser() |
static List<String> |
split(String string,
String separator,
String escape)
Source: http://www.thatsjava.com/java-essentials/41763/
======================================================================
Improved version of java.lang.String.split() that supports escape.
|
public AlertDeliveryContext(com.bmc.arsys.pluginsvr.plugins.ARPluginContext innerContext,
List<com.bmc.arsys.api.Value> rawInValueList)
public static List<String> split(String string, String separator, String escape)
split("one, two, \"a,b,c\"", ",", "\"");. Result is a list
of 3 strings "one", "two", "a,b,c".
Note: keep in mind to escape the chars [b]\()[]{^$|?*+.[/b] that
are special regular expression operators!string - String to split up by the given separator.separator - Split separator.escape - Optional escape character to enclose substrings that can
contain separators.public com.bmc.arsys.pluginsvr.plugins.ARPluginContext getInnerContext()
public List<com.bmc.arsys.api.Value> getRawInValueList()
public String getUser()
public String getAlertId()
public String getAlertText()
? Copyright 2013 BMC Software, Inc.