Package dev.equo.ide

Class CatalogDsl

java.lang.Object
dev.equo.ide.CatalogDsl

public class CatalogDsl extends Object
Base class for DSL configuring an Catalog for inclusion in the Gradle or Maven plugins.
  • Field Details

    • catalog

      protected final Catalog catalog
  • Constructor Details

    • CatalogDsl

      protected CatalogDsl(Catalog catalog)
  • Method Details

    • workspaceInit

      protected WorkspaceInit workspaceInit()
    • ideHooks

      protected List<IdeHook> ideHooks()
      Subclasses can override this method to include their IdeHooks in CatalogDsl.TransitiveAwareList.putInto(P2Model, dev.equo.ide.IdeHook.List, WorkspaceInit).
    • setUrlOverride

      protected void setUrlOverride(String p2AndMavenOverride)
      Overrides the version, url, or artifacts.
      • For a P2 Catalog entry (doesn't extend Catalog.PureMaven)
        • if p2AndMavenOverride is just a version (doesn't contain ':') then it replaces ${VERSION} in the p2 url
        • if p2AndMavenOverride is a full URL, then it replaces the p2 url entirely
      • For pure Maven catalog entry (extends Catalog.PureMaven)
        • if p2AndMavenOverride is just a version (doesn't contain ':') then it replaces ${VERSION} in the installs artifact list
        • if p2AndMavenOverride is a full maven coordinate (or comma-delimited list of coordinates) then it replaces the entire artifact list