org.jvnet.hudson.plugins.repositoryconnector
Class Repository

java.lang.Object
  extended by org.jvnet.hudson.plugins.repositoryconnector.Repository
All Implemented Interfaces:
Serializable, Comparable

public class Repository
extends Object
implements Serializable, Comparable

Represents a repository where artifacts can be resolved from or uploaded to.

Author:
domi
See Also:
Serialized Form

Constructor Summary
Repository(String id, String type, String url, String user, String password, boolean repositoryManager)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 String getId()
           
 String getPassword()
           
 String getType()
           
 String getUrl()
           
 String getUser()
           
 int hashCode()
           
 boolean isRepositoryManager()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Repository

@DataBoundConstructor
public Repository(String id,
                                       String type,
                                       String url,
                                       String user,
                                       String password,
                                       boolean repositoryManager)
Method Detail

getUrl

public String getUrl()
Returns:
the url

getType

public String getType()
Returns:
the type

getId

public String getId()
Returns:
the id

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getUser

public String getUser()
Returns:
the user

getPassword

public String getPassword()
Returns:
the password

isRepositoryManager

public boolean isRepositoryManager()
Returns:
the isRepositoryManager

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2010-2014. All Rights Reserved.