org.apache.maven.plugins.site.wagon
Class BugFixedRepository

java.lang.Object
  extended by org.apache.maven.wagon.repository.Repository
      extended by org.apache.maven.plugins.site.wagon.BugFixedRepository
All Implemented Interfaces:
Serializable

public class BugFixedRepository
extends Repository

This class is an abstraction of the location from/to resources can be transfered. Note: This is a copy of a file from Wagon. It was copied here to be able to work around WAGON-307. This class can be removed when the prerequisite Maven version uses wagon-provider-api:1.0-beta-7, ie Maven >= 3.0.1.

Version:
$Id: BugFixedRepository.html 861484 2013-05-09 23:10:16Z hboutemy $
Author:
Michal Maczka
See Also:
Serialized Form

Constructor Summary
BugFixedRepository(String id, String url)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBasedir()
          Retrieve the base directory of the repository.
 String getHost()
           
 String getId()
           
 String getName()
           
 String getParameter(String key)
           
 String getPassword()
           
 RepositoryPermissions getPermissions()
           
 int getPort()
           
 String getProtocol()
           
 String getUrl()
           
 String getUsername()
           
 int hashCode()
           
 void setBasedir(String basedir)
           
 void setId(String id)
           
 void setName(String name)
           
 void setParameters(Properties parameters)
           
 void setPermissions(RepositoryPermissions permissions)
           
 void setPort(int port)
           
 void setProtocol(String protocol)
           
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BugFixedRepository

public BugFixedRepository(String id,
                          String url)
Method Detail

getId

public String getId()
Overrides:
getId in class Repository

setId

public void setId(String id)
Overrides:
setId in class Repository

getBasedir

public String getBasedir()
Retrieve the base directory of the repository. This is derived from the full repository URL, and contains the entire path component.

Overrides:
getBasedir in class Repository
Returns:
the base directory

setBasedir

public void setBasedir(String basedir)
Overrides:
setBasedir in class Repository

setName

public void setName(String name)
Overrides:
setName in class Repository

getPort

public int getPort()
Overrides:
getPort in class Repository

setPort

public void setPort(int port)
Overrides:
setPort in class Repository

setUrl

public void setUrl(String url)
Overrides:
setUrl in class Repository

getUrl

public String getUrl()
Overrides:
getUrl in class Repository

getHost

public String getHost()
Overrides:
getHost in class Repository

getName

public String getName()
Overrides:
getName in class Repository

toString

public String toString()
Overrides:
toString in class Repository

getProtocol

public String getProtocol()
Overrides:
getProtocol in class Repository

getPermissions

public RepositoryPermissions getPermissions()
Overrides:
getPermissions in class Repository

setPermissions

public void setPermissions(RepositoryPermissions permissions)
Overrides:
setPermissions in class Repository

getParameter

public String getParameter(String key)
Overrides:
getParameter in class Repository

setParameters

public void setParameters(Properties parameters)
Overrides:
setParameters in class Repository

hashCode

public int hashCode()
Overrides:
hashCode in class Repository

equals

public boolean equals(Object obj)
Overrides:
equals in class Repository

getUsername

public String getUsername()
Overrides:
getUsername in class Repository

getPassword

public String getPassword()
Overrides:
getPassword in class Repository

setProtocol

public void setProtocol(String protocol)
Overrides:
setProtocol in class Repository


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.