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) |
createResource
public void load() throws IOException
load
in class Artefact
IOException
public static byte[] readFile(String s) throws IOException
IOException
public static String readGroks(String s) throws IOException
IOException
public static void loadPunchlet(List<String> paths, List<String> codes, String path) throws IOException
IOException
public static Map<String,String> getJsonResources(ISettingsMap componentSettings) throws IOException
IOException
public static String getPunchlineCustomGrokPatterns(ISettingsMap componentSettings) throws IOException
IOException
Copyright © 2014–2022. All rights reserved.