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.Builder
addHook(Path hookPath)
GraphConfig.Builder
addHook(GraphHook graphHook)
GraphConfig.Builder
addHooks(Path hooksPath)
GraphConfig.Builder
addHooks(GraphHook... graphHooks)
GraphConfig
build()
GraphConfig.Builder
description(String description)
GraphConfig.Builder
graphId(String graphId)
GraphConfig.Builder
json(byte[] bytes)
GraphConfig.Builder
json(InputStream stream)
GraphConfig.Builder
json(URI uri)
GraphConfig.Builder
json(Path path)
GraphConfig.Builder
library(GraphLibrary library)
GraphConfig.Builder
merge(GraphConfig config)
GraphConfig.Builder
otelActive(Boolean active)
String
toString()
GraphConfig.Builder
view(byte[] jsonBytes)
GraphConfig.Builder
view(InputStream view)
GraphConfig.Builder
view(URI view)
GraphConfig.Builder
view(Path view)
GraphConfig.Builder
view(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()
-
-