java.lang.Object
com.agentforge4j.runtime.command.NoOpFileSink
- All Implemented Interfaces:
FileSink
Canonical
FileSink that accepts writes but performs no I/O.
This is the default sink the runtime falls back to when no FileSink is configured:
CreateFileCommand output is silently discarded. The runtime never assumes a filesystem,
so this keeps the engine storage-agnostic until an embedding application supplies a real sink (for
example LocalFileSink, a database, or object storage).
Assembly layers that fall back to this sink are responsible for warning the operator that file
output is discarded (see bootstrap's ComponentDefaults); this class itself is
intentionally silent to avoid duplicate warnings on every write.
The shared FileSink.NO_OP_FILE_SINK constant exposes a singleton instance of this
class.
-
Field Summary
Fields inherited from interface com.agentforge4j.runtime.command.FileSink
NO_OP_FILE_SINK -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoOpFileSink
public NoOpFileSink()
-
-
Method Details