com.atlassian.confluence.it.maven
Class MavenUploadablePlugin

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface com.atlassian.confluence.it.plugin.Plugin
PLUGIN_DESCRIPTOR_FILENAME
 
Constructor Summary
MavenUploadablePlugin(java.lang.String key, java.lang.String displayName, MavenDependency dependency)
           
 
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
 

Constructor Detail

MavenUploadablePlugin

public MavenUploadablePlugin(java.lang.String key,
                             java.lang.String displayName,
                             MavenDependency dependency)
Parameters:
key - the plugin key
displayName - the full name of the plugin, used to assert that the plugin was uploaded successfully
dependency - the dependency to upload
Method Detail

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-2014 Atlassian. All Rights Reserved.