Index
All Classes and Interfaces|All Packages|Serialized Form
B
- build() - Method in class org.praxislive.project.GraphBuilder.Component
-
Build a component element from this builder.
- build() - Method in class org.praxislive.project.GraphBuilder.Root
-
Build a root element from this builder.
- build() - Method in class org.praxislive.project.ProjectModel.Builder
-
Build the project model.
- buildElement(ProjectElement) - Method in class org.praxislive.project.ProjectModel.Builder
-
Add a build element.
- buildElements() - Method in class org.praxislive.project.ProjectModel
-
Immutable list of the elements in the build section.
- builder() - Static method in class org.praxislive.project.ProjectModel
-
Create a project model builder.
C
- child(String, ComponentType, Consumer<GraphBuilder.Component>) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a child of the given type, configured by the passed in builder consumer.
- child(String, GraphElement.Component) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a child component element.
- children() - Method in class org.praxislive.project.GraphBuilder.Base
-
Immutable snapshot of children.
- children() - Method in class org.praxislive.project.GraphElement.Component
-
Immutable ordered map of child component elements by ID.
- clearChildren() - Method in class org.praxislive.project.GraphBuilder.Base
-
Clear the existing children.
- clearCommands() - Method in class org.praxislive.project.GraphBuilder.Root
-
Clear the existing commands.
- clearComments() - Method in class org.praxislive.project.GraphBuilder.Base
-
Clear the existing comments.
- clearConnections() - Method in class org.praxislive.project.GraphBuilder.Base
-
Clear the existing connections.
- clearProperties() - Method in class org.praxislive.project.GraphBuilder.Base
-
Clear the existing properties.
- command() - Method in class org.praxislive.project.GraphElement.Command
- command(String) - Method in class org.praxislive.project.GraphBuilder.Root
-
Add a command element.
- command(String) - Static method in class org.praxislive.project.GraphElement
-
Create a Command element from the given script line.
- command(GraphElement.Command) - Method in class org.praxislive.project.GraphBuilder.Root
-
Add a command element.
- commands() - Method in class org.praxislive.project.GraphBuilder.Root
-
Immutable snapshot of commands.
- commands() - Method in class org.praxislive.project.GraphElement.Root
-
Immutable list of commands.
- comment(String) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a comment element.
- comment(String) - Static method in class org.praxislive.project.GraphElement
-
Create a Comment element from the given text.
- comment(GraphElement.Comment) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a comment element.
- comments() - Method in class org.praxislive.project.GraphBuilder.Base
-
Immutable snapshot of comments.
- comments() - Method in class org.praxislive.project.GraphElement.Component
-
Immutable list of comment elements.
- component(ComponentType) - Static method in class org.praxislive.project.GraphBuilder
-
Create a component element builder for the provided component type.
- component(GraphElement.Component) - Static method in class org.praxislive.project.GraphBuilder
-
Create a component element builder initialized with the type and sub-elements of the provided component element.
- connection(String, String, String, String) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a connection element.
- connection(String, String, String, String) - Static method in class org.praxislive.project.GraphElement
-
Create a Connection element between the given source component ID and port ID, and target component ID and port ID.
- connection(GraphElement.Connection) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a connection element.
- connections() - Method in class org.praxislive.project.GraphBuilder.Base
-
Immutable snapshot of connections.
- connections() - Method in class org.praxislive.project.GraphElement.Component
-
Immutable ordered set of connection elements.
- context() - Method in class org.praxislive.project.GraphModel
-
Access the optional context (eg. working dir) for resolving relative file values.
- context() - Method in class org.praxislive.project.ProjectModel
-
Access the optional context (eg. working dir) for resolving relative file values.
- context(URI) - Method in class org.praxislive.project.ProjectModel.Builder
-
Add a context.
E
- equals(Object) - Method in class org.praxislive.project.GraphElement.Command
- equals(Object) - Method in class org.praxislive.project.GraphElement.Comment
- equals(Object) - Method in class org.praxislive.project.GraphElement.Component
- equals(Object) - Method in class org.praxislive.project.GraphElement.Connection
- equals(Object) - Method in class org.praxislive.project.GraphElement.Property
- equals(Object) - Method in class org.praxislive.project.GraphElement.Root
- equals(Object) - Method in class org.praxislive.project.GraphModel
- equals(Object) - Method in class org.praxislive.project.ProjectElement.File
- equals(Object) - Method in class org.praxislive.project.ProjectElement.Line
- equals(Object) - Method in class org.praxislive.project.ProjectModel
- escape(String) - Static method in class org.praxislive.project.SyntaxUtils
-
Escape the provided input for writing to a script, such that it can be parsed as a single value.
- escapeQuoted(String) - Static method in class org.praxislive.project.SyntaxUtils
-
Escape the provided input for writing to a script, such that it can be parsed as a single value.
F
- file() - Method in class org.praxislive.project.ProjectElement.File
-
Address of the file as an absolute URI.
- file(URI) - Static method in class org.praxislive.project.ProjectElement
-
Create a file element wrapping the given file URI.
- file(Path) - Static method in class org.praxislive.project.ProjectElement
-
Create a file element wrapping the URI of the given file path.
- fromSerializedComponent(String, PMap) - Static method in class org.praxislive.project.GraphModel
-
Create a graph model from the serialization data of a single component.
- fromSerializedRoot(String, PMap) - Static method in class org.praxislive.project.GraphModel
-
Create a graph model from the serialization data of a complete root.
- fromSerializedSubgraph(PMap) - Static method in class org.praxislive.project.GraphModel
-
Create a graph model from the serialization data of a container.
- fromSerializedSubgraph(PMap, Predicate<String>) - Static method in class org.praxislive.project.GraphModel
-
Create a graph model from the serialization data of a container.
G
- GraphBuilder - Class in org.praxislive.project
-
Builders for graph component elements.
- GraphBuilder.Base<B> - Class in org.praxislive.project
-
Abstract base class of component and root element builders.
- GraphBuilder.Component - Class in org.praxislive.project
-
Component element builder.
- GraphBuilder.Root - Class in org.praxislive.project
-
Root element builder.
- GraphElement - Class in org.praxislive.project
-
Elements of a graph tree.
- GraphElement.Command - Class in org.praxislive.project
- GraphElement.Comment - Class in org.praxislive.project
- GraphElement.Component - Class in org.praxislive.project
-
A component element.
- GraphElement.Connection - Class in org.praxislive.project
- GraphElement.Property - Class in org.praxislive.project
- GraphElement.Root - Class in org.praxislive.project
-
A root component element.
- GraphModel - Class in org.praxislive.project
-
Model for graph and subgraph scripts, encompassing the element tree and related information.
H
- hashCode() - Method in class org.praxislive.project.GraphElement.Command
- hashCode() - Method in class org.praxislive.project.GraphElement.Comment
- hashCode() - Method in class org.praxislive.project.GraphElement.Component
- hashCode() - Method in class org.praxislive.project.GraphElement.Connection
- hashCode() - Method in class org.praxislive.project.GraphElement.Property
- hashCode() - Method in class org.praxislive.project.GraphElement.Root
- hashCode() - Method in class org.praxislive.project.GraphModel
- hashCode() - Method in class org.praxislive.project.ProjectElement.File
- hashCode() - Method in class org.praxislive.project.ProjectElement.Line
- hashCode() - Method in class org.praxislive.project.ProjectModel
I
- id() - Method in class org.praxislive.project.GraphBuilder.Root
-
Root ID.
- id() - Method in class org.praxislive.project.GraphElement.Root
-
Root ID.
- isSafeBraced(String) - Static method in class org.praxislive.project.SyntaxUtils
-
Validate whether the provided input can be safely written as-is between braces without needing to be quote escaped.
- isSynthetic() - Method in class org.praxislive.project.GraphBuilder.Root
-
Query whether the root is synthetic.
- isSynthetic() - Method in class org.praxislive.project.GraphElement.Root
-
Query whether the root element is synthetic.
L
- line() - Method in class org.praxislive.project.ProjectElement.Line
-
The script line.
- line(String) - Static method in class org.praxislive.project.ProjectElement
-
Create a line element wrapping the given script line.
O
- of(GraphElement.Root) - Static method in class org.praxislive.project.GraphModel
-
Create a graph model of the provided root element.
- of(GraphElement.Root, URI) - Static method in class org.praxislive.project.GraphModel
-
Create a graph model of the provided root element and context.
- org.praxislive.project - module org.praxislive.project
- org.praxislive.project - package org.praxislive.project
P
- parse(String) - Static method in class org.praxislive.project.GraphModel
-
Parse the given graph script into a graph model.
- parse(String) - Static method in class org.praxislive.project.ProjectModel
-
Parse the given project script into a project model.
- parse(URI, String) - Static method in class org.praxislive.project.GraphModel
-
Parse the given graph script into a graph model.
- parse(URI, String) - Static method in class org.praxislive.project.ProjectModel
-
Parse the given project script and context into a project model.
- ParseException - Exception Class in org.praxislive.project
-
Exception thrown when a script cannot be parsed into a graph or project model.
- ParseException() - Constructor for exception class org.praxislive.project.ParseException
-
Creates a new instance of
ParseExceptionwithout detail message. - ParseException(String) - Constructor for exception class org.praxislive.project.ParseException
-
Constructs an instance of
ParseExceptionwith the specified detail message. - ParseException(String, Throwable) - Constructor for exception class org.praxislive.project.ParseException
-
Constructs an instance of
ParseExceptionwith the specified detail message and cause. - ParseException(Throwable) - Constructor for exception class org.praxislive.project.ParseException
-
Constructs an instance of
ParseExceptionwith the specified cause. - parseSubgraph(String) - Static method in class org.praxislive.project.GraphModel
-
Parse the given subgraph script into a graph model.
- parseSubgraph(URI, String) - Static method in class org.praxislive.project.GraphModel
-
Parse the given subgraph script into a graph model.
- ProjectElement - Class in org.praxislive.project
-
Elements of a project.
- ProjectElement() - Constructor for class org.praxislive.project.ProjectElement
- ProjectElement.File - Class in org.praxislive.project
-
A file element wrapping a file to be included.
- ProjectElement.Line - Class in org.praxislive.project
-
A line element wrapping a single line of script.
- ProjectModel - Class in org.praxislive.project
-
Model for project scripts.
- ProjectModel.Builder - Class in org.praxislive.project
-
Project model builder.
- properties() - Method in class org.praxislive.project.GraphBuilder.Base
-
Immutable snapshot of properties.
- properties() - Method in class org.praxislive.project.GraphElement.Component
-
Immutable ordered map of property elements by ID.
- property(String, Value) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a property element.
- property(String, GraphElement.Property) - Method in class org.praxislive.project.GraphBuilder.Base
-
Add a property element.
- property(String, GraphElement.Property) - Method in class org.praxislive.project.GraphBuilder.Root
- property(Value) - Static method in class org.praxislive.project.GraphElement
-
Create a property element of the given value.
R
- root() - Method in class org.praxislive.project.GraphModel
-
Access the root of the element tree.
- root(String, ComponentType) - Static method in class org.praxislive.project.GraphBuilder
-
Create a root element builder for the provided ID and type.
- root(GraphElement.Root) - Static method in class org.praxislive.project.GraphBuilder
-
Create a root element builder initialized with the ID, type and sub-elements of the provided root element.
- runElement(ProjectElement) - Method in class org.praxislive.project.ProjectModel.Builder
-
Add a run element.
- runElements() - Method in class org.praxislive.project.ProjectModel
-
Immutable list of the elements in the run section.
S
- setupElement(ProjectElement) - Method in class org.praxislive.project.ProjectModel.Builder
-
Add a setup element.
- setupElements() - Method in class org.praxislive.project.ProjectModel
-
Immutable list of the elements in the setup section.
- sourceComponent() - Method in class org.praxislive.project.GraphElement.Connection
- sourcePort() - Method in class org.praxislive.project.GraphElement.Connection
- SyntaxUtils - Class in org.praxislive.project
-
Various utility functions for parsing and writing values.
- syntheticRoot() - Static method in class org.praxislive.project.GraphBuilder
-
Create a root element builder for a synthetic root.
T
- targetComponent() - Method in class org.praxislive.project.GraphElement.Connection
- targetPort() - Method in class org.praxislive.project.GraphElement.Connection
- text() - Method in class org.praxislive.project.GraphElement.Comment
- tokens() - Method in class org.praxislive.project.GraphElement.Command
- tokens() - Method in class org.praxislive.project.ProjectElement.Line
-
The tokens making up the line.
- toString() - Method in class org.praxislive.project.GraphElement.Command
- toString() - Method in class org.praxislive.project.GraphElement.Comment
- toString() - Method in class org.praxislive.project.GraphElement.Component
- toString() - Method in class org.praxislive.project.GraphElement.Connection
- toString() - Method in class org.praxislive.project.GraphElement.Property
- toString() - Method in class org.praxislive.project.GraphElement.Root
- toString() - Method in class org.praxislive.project.GraphModel
- toString() - Method in class org.praxislive.project.ProjectElement.File
- toString() - Method in class org.praxislive.project.ProjectElement.Line
- toString() - Method in class org.praxislive.project.ProjectModel
- transformChildren(Function<Stream<Map.Entry<String, GraphElement.Component>>, List<Map.Entry<String, GraphElement.Component>>>) - Method in class org.praxislive.project.GraphBuilder.Base
-
Transform the existing children.
- transformCommands(Function<Stream<GraphElement.Command>, List<GraphElement.Command>>) - Method in class org.praxislive.project.GraphBuilder.Root
-
Transform the existing commands.
- transformComments(Function<Stream<GraphElement.Comment>, List<GraphElement.Comment>>) - Method in class org.praxislive.project.GraphBuilder.Base
-
Transform the existing comments.
- transformConnections(Function<Stream<GraphElement.Connection>, List<GraphElement.Connection>>) - Method in class org.praxislive.project.GraphBuilder.Base
-
Transform the existing connections.
- transformProperties(Function<Stream<Map.Entry<String, GraphElement.Property>>, List<Map.Entry<String, GraphElement.Property>>>) - Method in class org.praxislive.project.GraphBuilder.Base
-
Transform the existing properties.
- type() - Method in class org.praxislive.project.GraphBuilder.Base
-
Component type.
- type() - Method in class org.praxislive.project.GraphElement.Component
-
Component type.
V
- value() - Method in class org.praxislive.project.GraphElement.Property
- valueFromToken(URI, Token) - Static method in class org.praxislive.project.SyntaxUtils
-
Extract a value from the provided token.
- valueFromToken(Token) - Static method in class org.praxislive.project.SyntaxUtils
-
Extract a value from the provided token.
- valueToToken(URI, Value) - Static method in class org.praxislive.project.SyntaxUtils
-
Return the provided value as suitable token text to be included in a script.
- valueToToken(Value) - Static method in class org.praxislive.project.SyntaxUtils
-
Return the provided value as suitable token text to be included in a script.
W
- withContext(URI) - Method in class org.praxislive.project.GraphModel
-
Create a new graph model based on this one, with a different context.
- withContext(URI) - Method in class org.praxislive.project.ProjectModel
-
Create a new project model with a different context.
- withRename(String) - Method in class org.praxislive.project.GraphModel
-
Create a new graph model based on this one, with a renamed root.
- withTransform(Consumer<GraphBuilder.Root>) - Method in class org.praxislive.project.GraphModel
-
Create a new graph model based on this one after applying the provided transform function.
- write(Appendable) - Method in class org.praxislive.project.GraphModel
-
Write the model as a script to the given target.
- write(Appendable) - Method in class org.praxislive.project.ProjectModel
-
Write the model as a script to the given target.
- writeToString() - Method in class org.praxislive.project.GraphModel
-
Write the graph model to a String.
- writeToString() - Method in class org.praxislive.project.ProjectModel
-
Write the project model to a String.
- writeValue(URI, Value, Appendable) - Static method in class org.praxislive.project.SyntaxUtils
-
Write the provided value as suitable token text to the provided output.
- writeValue(Value, Appendable) - Static method in class org.praxislive.project.SyntaxUtils
-
Write the provided value as suitable token text to the provided output.
All Classes and Interfaces|All Packages|Serialized Form