Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   =================== DO NOT EDIT THIS FILE ====================
   Generated by Modello 1.4.1 on 2012-04-27 06:11:26,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

Remote storage details for the proxy repository.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "repository-remote-storage" )
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The remote URL that this repository is proxying.
 
     private String remoteStorageUrl;

    
The authentication details of the remote connection.
 
     private AuthenticationSettings authentication;

    
The connection settings for the remote connection.
 
     private RemoteConnectionSettings connectionSettings;

    
Repository specific proxy server settings for the remote connection (overrides the global proxy server configuration).
 
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Get the authentication details of the remote connection.

Returns:
AuthenticationSettings
 
     {
         return this.;
     } //-- AuthenticationSettings getAuthentication()
 
    
Get the connection settings for the remote connection.

Returns:
RemoteConnectionSettings
 
     {
         return this.;
     } //-- RemoteConnectionSettings getConnectionSettings()
 
    
Get repository specific proxy server settings for the remote connection (overrides the global proxy server configuration).

Returns:
RemoteHttpProxySettings
 
     {
         return this.;
     } //-- RemoteHttpProxySettings getHttpProxySettings()
 
    
Get the remote URL that this repository is proxying.

Returns:
String
 
     public String getRemoteStorageUrl()
     {
         return this.;
     } //-- String getRemoteStorageUrl()
 
    
Set the authentication details of the remote connection.

Parameters:
authentication
 
     public void setAuthenticationAuthenticationSettings authentication )
    {
        this. = authentication;
    } //-- void setAuthentication( AuthenticationSettings )

    
Set the connection settings for the remote connection.

Parameters:
connectionSettings
    public void setConnectionSettingsRemoteConnectionSettings connectionSettings )
    {
        this. = connectionSettings;
    } //-- void setConnectionSettings( RemoteConnectionSettings )

    
Set repository specific proxy server settings for the remote connection (overrides the global proxy server configuration).

Parameters:
httpProxySettings
    public void setHttpProxySettingsRemoteHttpProxySettings httpProxySettings )
    {
        this. = httpProxySettings;
    } //-- void setHttpProxySettings( RemoteHttpProxySettings )

    
Set the remote URL that this repository is proxying.

Parameters:
remoteStorageUrl
    public void setRemoteStorageUrlString remoteStorageUrl )
    {
        this. = remoteStorageUrl;
    } //-- void setRemoteStorageUrl( String )
New to GrepCode? Check out our FAQ X