public abstract class Task extends Object implements ITask
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
protected List |
getAttributeMapping(Map params) |
static String |
getContent(String resName,
Locale locale) |
protected String |
getFileContent(String filename) |
protected static String |
getMessage(String key,
Locale locale) |
protected String |
getRequestURL(Map map) |
protected static ResourceBundle |
getResourceBundle(Locale locale) |
protected String |
getString(Map params,
String key)
Return a trimmed String that represents the value from the
passed in params Map for the given key
|
protected static String |
getWebContent(String url,
Locale locale)
Reads the content in from a URL and returns as a String.
|
protected String getString(Map params, String key)
params
- The Map that holds a String value or a Set containing
a String value for the given keykey
- The key to use to look up the String value in params Mapprotected static ResourceBundle getResourceBundle(Locale locale)
public static String getContent(String resName, Locale locale) throws WorkflowException
WorkflowException
protected String getFileContent(String filename) throws WorkflowException
WorkflowException
protected static String getWebContent(String url, Locale locale) throws WorkflowException
url
- The URL to fetch content from.locale
- The locale used to construct error messages.WorkflowException
- Thrown if the URL is malformed, or there is an error fetching content.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.