com.ossuminc.riddl.utils
Members list
Type members
Classlikes
An implementation of java.time.Clock which only moves through time via calls to updateInstant
.
An implementation of java.time.Clock which only moves through time via calls to updateInstant
. This allows fine-grained, side-effect-free deterministic control over the progression of system time, which is useful for testing purposes.
Attributes
- Source
- AdjustableClock.scala
- Supertypes
-
class Clocktrait InstantSourceclass Objecttrait Matchableclass Any
Attributes
- Source
- Await.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Await.type
Attributes
- Source
- Logging.scala
- Supertypes
Attributes
- Source
- ExceptionUtils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExceptionUtils.type
A trait to build a string up for writing to a file.
A trait to build a string up for writing to a file. This provides the platform specific definition of newline, an nl function to insert a newline, and other functions for putting changes into the file content. The file is assumed to have a UTF-8 content type.
Attributes
- Source
- FileBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DataFlowDiagramtrait MermaidDiagramGeneratorclass ContextMapDiagramclass DomainMapDiagramclass RootOverviewDiagramtrait SequenceDiagramGeneratorclass UseCaseDiagramclass RiddlFileEmittertrait OutputFileclass TextFileWritertrait MarkdownBasicstrait MarkdownWriterclass DotdockWriterclass GeekDocWriterShow all
A Logger which captures logged lines into an in-memory buffer, useful for testing purposes.
A Logger which captures logged lines into an in-memory buffer, useful for testing purposes.
Attributes
- Source
- Logging.scala
- Supertypes
Attributes
- Companion
- object
- Source
- Interrupt.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Interrupt.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Interrupt.type
This is the JVM version of the Loader utility.
This is the JVM version of the Loader utility. It is used to load file content in UTF-8 via a URL as a String and returning the Future that will obtain it. Further processing can be chained onto the future. This handles the I/O part of parsing in a platform specific way.
Attributes
- Source
- Loader.scala
- Supertypes
Attributes
- Source
- Logging.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- Logging.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Logging.type
Attributes
- Source
- OutputFile.scala
- Supertypes
- Known subtypes
-
class TextFileWritertrait MarkdownBasicstrait MarkdownWriterclass DotdockWriterclass GeekDocWriter
Attributes
- Source
- PathUtils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PathUtils.type
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Attributes
- Source
- RiddlBuildInfo.scala
- Supertypes
- Self type
-
RiddlBuildInfo.type
Attributes
- Source
- SeqHelpers.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SeqHelpers.type
A PrintStream that captures any output into a String
A PrintStream that captures any output into a String
Attributes
- Companion
- object
- Source
- StringBuildingPrintStream.scala
- Supertypes
-
class PrintStreamtrait Appendableclass FilterOutputStreamclass OutputStreamtrait Flushabletrait Closeabletrait AutoCloseableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- StringBuildingPrintStream.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- StringHelpers.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StringHelpers.type
Attributes
- Source
- Logging.scala
- Supertypes
Attributes
- Source
- Logging.scala
- Supertypes
Unit Tests For TextFileWriter
Unit Tests For TextFileWriter
Attributes
- Companion
- object
- Source
- TextFileWriter.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- TextFileWriter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TextFileWriter.type
Private implementation details which allow for more testability
Private implementation details which allow for more testability
Attributes
- Source
- Timer.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Timer.type
A RIDDL version of a URL since the JVM version isn't useful to Javascript.
A RIDDL version of a URL since the JVM version isn't useful to Javascript. This just allows a simplified URL that has a scheme, authority, basis and path part.
Value parameters
- authority
-
The authority part providing the basic location and credentials of the resource. The full syntax should be
user@host:port
. This field must not contain a / - basis
-
The "root" path or basis of the URL. This is for compatibility with "file" scheme as taken from java.nio.file.Path's functionality that the current working directory will be presumed as the root of the path. You can use the toBasisString method to get the URL without the path part. basis should not start with a /
- path
-
The path of the resource. Fragments (part after #) can be included in the path if necessary. This URL implementation doesn't check the validity or existence of the fragment. path should not start with a /
- scheme
-
The URL's scheme, either
file
,http
, orhttps