public static class Plugin.Maven extends Plugin implements Serializable, org.eclipse.aether.transfer.TransferListener
Plugin.Component, Plugin.Directory, Plugin.DownloadListener, Plugin.Maven, Plugin.ResourceInfoVisitor
baseURL, description, downloadListeners, log, minGateVersion, name, requiredPlugins, resourceInfoList, valid
Constructor and Description |
---|
Maven(String group,
String artifact,
String version) |
Modifier and Type | Method and Description |
---|---|
void |
copyResources(File dir) |
boolean |
equals(Object obj) |
String |
getArtifact()
Get the Maven artifact ID of this plugin.
|
protected URL |
getArtifactURL() |
URI |
getBaseURI() |
org.jdom.Document |
getCreoleXML()
Returns a fully expanded creole.xml file that can be used for loading the
plugin into GATE
|
String |
getGroup()
Get the Maven group ID of this plugin.
|
protected URL |
getMetadataArtifactURL() |
org.jdom.Document |
getMetadataXML()
Returns a creole.xml file which is only guaranteed to contain information
about the resources within the plugin and not dependency requirements.
|
String |
getName() |
int |
hashCode() |
boolean |
hasResources() |
void |
transferCorrupted(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferFailed(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferInitiated(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferProgressed(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferStarted(org.eclipse.aether.transfer.TransferEvent event) |
void |
transferSucceeded(org.eclipse.aether.transfer.TransferEvent event) |
void |
walkResources(FileVisitor<? super Path> visitor) |
addDownloadListener, fillInResInfos, fireDownloadFailed, fireDownloadProgressed, fireDownloadStarted, fireDownloadSucceeded, getBaseURL, getDescription, getMinimumGateVersion, getPlugin, getRequiredPlugins, getResourceInfoList, getVersion, isValid, parseCreole, removeDownloadListener, scanJar, toString
public URI getBaseURI() throws URISyntaxException
getBaseURI
in class Plugin
URISyntaxException
public void copyResources(File dir) throws URISyntaxException, IOException
copyResources
in class Plugin
URISyntaxException
IOException
public void walkResources(FileVisitor<? super Path> visitor) throws URISyntaxException, IOException
URISyntaxException
IOException
public boolean hasResources()
hasResources
in class Plugin
public org.jdom.Document getMetadataXML() throws Exception
Plugin
getMetadataXML
in class Plugin
Exception
public org.jdom.Document getCreoleXML() throws Exception
Plugin
getCreoleXML
in class Plugin
Exception
public String getGroup()
public String getArtifact()
public void transferInitiated(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException
transferInitiated
in interface org.eclipse.aether.transfer.TransferListener
org.eclipse.aether.transfer.TransferCancelledException
public void transferStarted(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException
transferStarted
in interface org.eclipse.aether.transfer.TransferListener
org.eclipse.aether.transfer.TransferCancelledException
public void transferProgressed(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException
transferProgressed
in interface org.eclipse.aether.transfer.TransferListener
org.eclipse.aether.transfer.TransferCancelledException
public void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event) throws org.eclipse.aether.transfer.TransferCancelledException
transferCorrupted
in interface org.eclipse.aether.transfer.TransferListener
org.eclipse.aether.transfer.TransferCancelledException
public void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event)
transferSucceeded
in interface org.eclipse.aether.transfer.TransferListener
public void transferFailed(org.eclipse.aether.transfer.TransferEvent event)
transferFailed
in interface org.eclipse.aether.transfer.TransferListener
Copyright © 2024 GATE. All rights reserved.