Uses of Class
org.sentrysoftware.metricshub.engine.connector.model.common.EmbeddedFile
Packages that use EmbeddedFile
Package
Description
-
Uses of EmbeddedFile in org.sentrysoftware.metricshub.engine.connector.model.common
Methods in org.sentrysoftware.metricshub.engine.connector.model.common that return EmbeddedFileModifier and TypeMethodDescriptionEmbeddedFile.copy()Creates a copy of the current embedded file.static EmbeddedFileEmbeddedFile.fromString(@NonNull String value) Provides a convenient way to create an embedded file from a string without specifying a character set, assuming UTF-8.static EmbeddedFileEmbeddedFile.fromString(@NonNull String value, @NonNull Charset charset) Creates anEmbeddedFilefrom a provided string, encoding the content using the specifiedCharset. -
Uses of EmbeddedFile in org.sentrysoftware.metricshub.engine.connector.parser
Methods in org.sentrysoftware.metricshub.engine.connector.parser that return EmbeddedFileModifier and TypeMethodDescriptionEmbeddedFilesResolver.processFile(String fileName, Path connectorDirectory) Reads the file content and generate anEmbeddedFileinstance.Methods in org.sentrysoftware.metricshub.engine.connector.parser that return types with arguments of type EmbeddedFileModifier and TypeMethodDescriptionEmbeddedFilesResolver.collectEmbeddedFiles()Collects all processed embedded files into a map where each file is indexed by its unique identifier. -
Uses of EmbeddedFile in org.sentrysoftware.metricshub.engine.strategy.utils
Methods in org.sentrysoftware.metricshub.engine.strategy.utils that return types with arguments of type EmbeddedFileModifier and TypeMethodDescriptionstatic Optional<EmbeddedFile> EmbeddedFileHelper.findEmbeddedFile(@NonNull String value, @NonNull Map<Integer, EmbeddedFile> connectorEmbeddedFiles, @NonNull String hostname, @NonNull String connectorId) Finds one embedded file that is referenced in the given string.static Map<Integer, EmbeddedFile> EmbeddedFileHelper.findEmbeddedFiles(@NonNull String value, @NonNull Map<Integer, EmbeddedFile> connectorEmbeddedFiles) Finds all the embedded files that are referenced in the given string.Methods in org.sentrysoftware.metricshub.engine.strategy.utils with parameters of type EmbeddedFileModifier and TypeMethodDescriptionstatic FileOsCommandHelper.createTempFileWithEmbeddedFileContent(EmbeddedFile embeddedFile, SudoInformation sudoInformation, BiFunction<String, String, File> tempFileCreator) Create a temporary file with the content of the embeddedFile.Method parameters in org.sentrysoftware.metricshub.engine.strategy.utils with type arguments of type EmbeddedFileModifier and TypeMethodDescriptionOsCommandHelper.createOsCommandEmbeddedFiles(@NonNull String commandLine, SudoInformation sudoInformation, @NonNull Map<Integer, EmbeddedFile> commandLineEmbeddedFiles, @NonNull BiFunction<String, String, File> tempFileCreator) Create the temporary embedded files in the given command line.static Optional<EmbeddedFile> EmbeddedFileHelper.findEmbeddedFile(@NonNull String value, @NonNull Map<Integer, EmbeddedFile> connectorEmbeddedFiles, @NonNull String hostname, @NonNull String connectorId) Finds one embedded file that is referenced in the given string.static Map<Integer, EmbeddedFile> EmbeddedFileHelper.findEmbeddedFiles(@NonNull String value, @NonNull Map<Integer, EmbeddedFile> connectorEmbeddedFiles) Finds all the embedded files that are referenced in the given string. -
Uses of EmbeddedFile in org.sentrysoftware.metricshub.engine.telemetry
Methods in org.sentrysoftware.metricshub.engine.telemetry that return types with arguments of type EmbeddedFileModifier and TypeMethodDescriptionTelemetryManager.getEmbeddedFiles(String connectorId) Retrieves a map ofEmbeddedFileobjects indexed by their unique integer identifiers, associated with a specific connector identified byconnectorId.