public class FileSystemArtefact extends Artefact
| Modifier and Type | Field and Description |
|---|---|
static List<Path> |
paths |
static String[] |
resourcePath |
| Constructor and Description |
|---|
FileSystemArtefact(String groupId,
String artifactId,
String version) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getJsonResources(ISettingsMap componentSettings) |
static String |
getPunchlineCustomGrokPatterns(ISettingsMap componentSettings) |
void |
load() |
static void |
loadPunchlet(List<String> paths,
List<String> codes,
String path) |
static byte[] |
readFile(String s) |
static String |
readGroks(String s) |
createResourcepublic void load()
throws IOException
load in class ArtefactIOExceptionpublic static byte[] readFile(String s) throws IOException
IOExceptionpublic static String readGroks(String s) throws IOException
IOExceptionpublic static void loadPunchlet(List<String> paths, List<String> codes, String path) throws IOException
IOExceptionpublic static Map<String,String> getJsonResources(ISettingsMap componentSettings) throws IOException
IOExceptionpublic static String getPunchlineCustomGrokPatterns(ISettingsMap componentSettings) throws IOException
IOExceptionCopyright © 2014–2023. All rights reserved.