ExternalModule

public final class ExternalModule

An external library module used in a project.

An external module is typically provided by a package manager, such as NPM or Pub.

Constructors

Link copied to clipboard
public void ExternalModule(String name, Collection<DirectoryPattern> directories)
Creates a new instance.

Functions

Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public FileReference fileInModule(FileReference fileReference)
Obtains the file reference within this module.
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public String name()
Obtains the name of the module.
Link copied to clipboard
public static ImmutableList<ExternalModule> predefinedModules()
All the modules in spineWeb and spineUsers.
Link copied to clipboard
public boolean provides(FileReference fileReference)
Checks if the module provides the referenced file.
Link copied to clipboard
public static ExternalModule spineUsers()
Link copied to clipboard
public static ExternalModule spineWeb()