io.joern.console.workspacehandling

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Project

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Project.type
case class Project(projectFile: ProjectFile, var path: Path, var cpg: Option[Cpg])

Value parameters

cpg

reference to loaded CPG or None, if the CPG is not loaded

path

absolute path to directory holding the project

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ProjectFile(inputPath: String, name: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class Workspace[ProjectType <: Project](var projects: ListBuffer[ProjectType])

Create a workspace from a list of projects. Workspace is a passive object that is managed by WorkspaceManager

Create a workspace from a list of projects. Workspace is a passive object that is managed by WorkspaceManager

Value parameters

projects

list of projects present in this workspace

Attributes

Supertypes
class Object
trait Matchable
class Any
abstract class WorkspaceLoader[ProjectType <: Project]

This component loads a workspace from disk and creates a corresponding Workspace object.

This component loads a workspace from disk and creates a corresponding Workspace object.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DefaultLoader.type
class WorkspaceManager[ProjectType <: Project](path: String, loader: WorkspaceLoader[ProjectType]) extends Reporting

WorkspaceManager: a component, which loads and maintains the list of projects made accessible via Ocular/Joern.

WorkspaceManager: a component, which loads and maintains the list of projects made accessible via Ocular/Joern.

Value parameters

path

path to to workspace.

Attributes

Companion
object
Supertypes
trait Reporting
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type