public class AsperaTransferManagerUtils extends Object
Constructor and Description |
---|
AsperaTransferManagerUtils() |
Modifier and Type | Method and Description |
---|---|
static ThreadPoolExecutor |
createDefaultExecutorService()
Returns a new thread pool configured with the default settings.
|
static String |
getRedactedJsonString(String jsonString,
String... jsonPathsToRedact)
Returns a String of the json passed in, but with any jsonPathsToRedact
marked as [REDACTED]
On Error will return an empty string |
public static ThreadPoolExecutor createDefaultExecutorService()
public static String getRedactedJsonString(String jsonString, String... jsonPathsToRedact)
jsonString
- The original json string to be redactedjsonPathsToRedact
- The json path values which are to be redactedCopyright © 2024. All rights reserved.