com.atlassian.confluence.it.maven
Class MavenUploadablePlugin
java.lang.Object
com.atlassian.confluence.it.maven.MavenUploadablePlugin
- All Implemented Interfaces:
- Plugin, UploadablePlugin
public class MavenUploadablePlugin
- extends java.lang.Object
- implements UploadablePlugin
A plugin to be uploaded into Confluence from the local Maven repository.
Method Summary |
java.lang.String |
getDisplayName()
|
java.io.File |
getFile()
Returns a file representing the plugin in the local repository, using the conventions of a Maven 2 repository. |
java.lang.String |
getKey()
The plugin key of the plugin. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MavenUploadablePlugin
public MavenUploadablePlugin(java.lang.String key,
java.lang.String displayName,
MavenDependency dependency)
- Parameters:
key
- the plugin keydisplayName
- the full name of the plugin, used to assert that the plugin was uploaded successfullydependency
- the dependency to upload
getKey
public java.lang.String getKey()
- Description copied from interface:
Plugin
- The plugin key of the plugin.
- Specified by:
getKey
in interface Plugin
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interface Plugin
- Returns:
- the full name of the plugin, used to ensure that the plugin was uploaded successfully
getFile
public java.io.File getFile()
- Returns a file representing the plugin in the local repository, using the conventions of a Maven 2 repository.
The file that is returned may or may not exist.
- Specified by:
getFile
in interface UploadablePlugin
- Returns:
- the JAR file of the plugin to upload.
- See Also:
LocalMavenDependency.getFile()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.