Class CopySource
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.Source
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.CopySource
- All Implemented Interfaces:
Serializable
Represents a source task that copies data from another source.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCopySource(String type, List<Compute> computes, boolean forceSerialization, @NonNull String from, String key, ExecuteForEachEntryOf executeForEachEntryOf) Constructs a newCopySourceinstance with the provided attributes. -
Method Summary
Modifier and TypeMethodDescriptionaccept(ISourceProcessor sourceProcessor) Accepts a source processor to perform processing on the source.copy()Creates a copy of the source.toString()voidupdate(UnaryOperator<String> updater) Updates the source based on the provided updater function.Methods inherited from class org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.Source
getEntryConcatMethod, getExecuteForEachEntryOf, getSleepExecuteForEachEntryOf, isExecuteForEachEntryOf
-
Constructor Details
-
CopySource
public CopySource(String type, List<Compute> computes, boolean forceSerialization, @NonNull @NonNull String from, String key, ExecuteForEachEntryOf executeForEachEntryOf) Constructs a newCopySourceinstance with the provided attributes.- Parameters:
type- the type of the sourcecomputes- the list of compute operations to be appliedforceSerialization- flag indicating whether serialization should be forcedfrom- the source from which data is copiedkey- the key associated with the sourceexecuteForEachEntryOf- the execute-for-each-entry-of information
-
-
Method Details