MCPcopy Create free account
hub / github.com/BaseXdb/basex / init

Method init

basex-core/src/main/java/org/basex/core/Command.java:207–212  ·  view source on GitHub ↗

Initializes the command execution. @param ctx database context @param os output stream

(final Context ctx, final OutputStream os)

Source from the content-addressed store, hash-verified

205 * @param os output stream
206 */
207 public final void init(final Context ctx, final OutputStream os) {
208 context = ctx;
209 options = ctx.options;
210 soptions = ctx.soptions;
211 out = PrintOutput.get(os);
212 }
213
214 /**
215 * Runs the command without permission, data and concurrency checks.

Callers 2

runMethod · 0.95
buildMethod · 0.45

Calls 1

getMethod · 0.95

Tested by

no test coverage detected