com.atlassian.confluence.it.maven
Class MavenUploadablePlugin

java.lang.Object
  extended by com.atlassian.confluence.it.maven.MavenUploadablePlugin
All Implemented Interfaces:
UploadablePlugin

public class MavenUploadablePlugin
extends java.lang.Object
implements UploadablePlugin

A plugin to be uploaded into Confluence from the local Maven repository.


Constructor Summary
MavenUploadablePlugin(java.lang.String displayName, LocalMavenDependency 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 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 displayName,
                             LocalMavenDependency dependency)
Parameters:
displayName - the full name of the plugin, used to assert that the plugin was uploaded successfully
dependency - the dependency to upload
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface UploadablePlugin
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-2008 Atlassian Pty Ltd. All Rights Reserved.