Package uk.gov.gchq.gaffer.graph
Class GraphConfig.Builder
- java.lang.Object
-
- uk.gov.gchq.gaffer.graph.GraphConfig.Builder
-
- Enclosing class:
- GraphConfig
public static class GraphConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphConfig.BuilderaddHook(Path hookPath)GraphConfig.BuilderaddHook(GraphHook graphHook)GraphConfig.BuilderaddHooks(Path hooksPath)GraphConfig.BuilderaddHooks(GraphHook... graphHooks)GraphConfigbuild()GraphConfig.Builderdescription(String description)GraphConfig.BuildergraphId(String graphId)GraphConfig.Builderjson(byte[] bytes)GraphConfig.Builderjson(InputStream stream)GraphConfig.Builderjson(URI uri)GraphConfig.Builderjson(Path path)GraphConfig.Builderlibrary(GraphLibrary library)GraphConfig.Buildermerge(GraphConfig config)GraphConfig.BuilderotelActive(Boolean active)StringtoString()GraphConfig.Builderview(byte[] jsonBytes)GraphConfig.Builderview(InputStream view)GraphConfig.Builderview(URI view)GraphConfig.Builderview(Path view)GraphConfig.Builderview(View view)
-
-
-
Method Detail
-
json
public GraphConfig.Builder json(Path path)
-
json
public GraphConfig.Builder json(URI uri)
-
json
public GraphConfig.Builder json(InputStream stream)
-
json
public GraphConfig.Builder json(byte[] bytes)
-
merge
public GraphConfig.Builder merge(GraphConfig config)
-
graphId
public GraphConfig.Builder graphId(String graphId)
-
library
public GraphConfig.Builder library(GraphLibrary library)
-
description
public GraphConfig.Builder description(String description)
-
otelActive
public GraphConfig.Builder otelActive(Boolean active)
-
view
public GraphConfig.Builder view(View view)
-
view
public GraphConfig.Builder view(Path view)
-
view
public GraphConfig.Builder view(InputStream view)
-
view
public GraphConfig.Builder view(URI view)
-
view
public GraphConfig.Builder view(byte[] jsonBytes)
-
addHooks
public GraphConfig.Builder addHooks(Path hooksPath)
-
addHook
public GraphConfig.Builder addHook(Path hookPath)
-
addHook
public GraphConfig.Builder addHook(GraphHook graphHook)
-
addHooks
public GraphConfig.Builder addHooks(GraphHook... graphHooks)
-
build
public GraphConfig build()
-
-