Class IndexDefinitionsJsonWriter
- java.lang.Object
-
- org.apache.sling.feature.cpconverter.index.IndexDefinitionsJsonWriter
-
public class IndexDefinitionsJsonWriter extends Object
Writes index definitions in a JSON format that can be consumed by theoak-run
tool.- See Also:
- Oak-Run indexing
-
-
Constructor Summary
Constructors Constructor Description IndexDefinitionsJsonWriter(@NotNull IndexDefinitions indexDefinitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeAsJson(@NotNull OutputStream out)
Writes the index definitions to the specifiedout
-
-
-
Constructor Detail
-
IndexDefinitionsJsonWriter
public IndexDefinitionsJsonWriter(@NotNull @NotNull IndexDefinitions indexDefinitions)
-
-
Method Detail
-
writeAsJson
public void writeAsJson(@NotNull @NotNull OutputStream out)
Writes the index definitions to the specifiedout
- Parameters:
out
- the output stream to write to
-
-