public static class Plugin.Maven extends Plugin implements Serializable, org.eclipse.aether.transfer.TransferListener
Plugin.Component, Plugin.Directory, Plugin.DownloadListener, Plugin.Maven, Plugin.ResourceInfoVisitorbaseURL, 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, toStringpublic URI getBaseURI() throws URISyntaxException
getBaseURI in class PluginURISyntaxExceptionpublic void copyResources(File dir) throws URISyntaxException, IOException
copyResources in class PluginURISyntaxExceptionIOExceptionpublic void walkResources(FileVisitor<? super Path> visitor) throws URISyntaxException, IOException
URISyntaxExceptionIOExceptionpublic boolean hasResources()
hasResources in class Pluginpublic org.jdom.Document getMetadataXML()
throws Exception
PlugingetMetadataXML in class PluginExceptionpublic org.jdom.Document getCreoleXML()
throws Exception
PlugingetCreoleXML in class PluginExceptionpublic 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.TransferListenerorg.eclipse.aether.transfer.TransferCancelledExceptionpublic void transferStarted(org.eclipse.aether.transfer.TransferEvent event)
throws org.eclipse.aether.transfer.TransferCancelledException
transferStarted in interface org.eclipse.aether.transfer.TransferListenerorg.eclipse.aether.transfer.TransferCancelledExceptionpublic void transferProgressed(org.eclipse.aether.transfer.TransferEvent event)
throws org.eclipse.aether.transfer.TransferCancelledException
transferProgressed in interface org.eclipse.aether.transfer.TransferListenerorg.eclipse.aether.transfer.TransferCancelledExceptionpublic void transferCorrupted(org.eclipse.aether.transfer.TransferEvent event)
throws org.eclipse.aether.transfer.TransferCancelledException
transferCorrupted in interface org.eclipse.aether.transfer.TransferListenerorg.eclipse.aether.transfer.TransferCancelledExceptionpublic void transferSucceeded(org.eclipse.aether.transfer.TransferEvent event)
transferSucceeded in interface org.eclipse.aether.transfer.TransferListenerpublic void transferFailed(org.eclipse.aether.transfer.TransferEvent event)
transferFailed in interface org.eclipse.aether.transfer.TransferListenerCopyright © 2024 GATE. All rights reserved.