Package dev.equo.ide
Class CatalogDsl
- java.lang.Object
-
- dev.equo.ide.CatalogDsl
-
public class CatalogDsl extends java.lang.ObjectBase class for DSL configuring anCatalogfor inclusion in the Gradle or Maven plugins.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCatalogDsl.TransitiveAwareList<T extends CatalogDsl>
-
Constructor Summary
Constructors Modifier Constructor Description protectedCatalogDsl(Catalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<IdeHook>ideHooks()Subclasses can override this method to include their IdeHooks inCatalogDsl.TransitiveAwareList.putInto(P2Model, dev.equo.ide.IdeHook.List, WorkspaceInit).protected voidsetUrlOverride(java.lang.String p2AndMavenOverride)Overrides the version, url, or artifacts.protected WorkspaceInitworkspaceInit()
-
-
-
Field Detail
-
catalog
protected final Catalog catalog
-
-
Constructor Detail
-
CatalogDsl
protected CatalogDsl(Catalog catalog)
-
-
Method Detail
-
workspaceInit
protected WorkspaceInit workspaceInit()
-
ideHooks
protected java.util.List<IdeHook> ideHooks()
Subclasses can override this method to include their IdeHooks inCatalogDsl.TransitiveAwareList.putInto(P2Model, dev.equo.ide.IdeHook.List, WorkspaceInit).
-
setUrlOverride
protected void setUrlOverride(java.lang.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
- For a P2 Catalog entry (doesn't extend
-
-