Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   =================== DO NOT EDIT THIS FILE ====================
   Generated by Modello 1.4.1 on 2011-04-25 14:05:00,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

A repository route basic set of details, for display in lists (full details can be retrieved using the resourceURI).

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "repository-route-list-resource" )
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The URL used to manage this repository route.
 
     private String resourceURI;

    
The group this route is attached to.
 
     private String groupId;

    
The type of rule (inclusive, exclusive, etc.).
 
     private String ruleType;

    
The pattern associated to this route.
 
     private String pattern;

    
Field repositories.
 
     @javax.xml.bind.annotation.XmlElementWrapper( name = "repositories" )
     @javax.xml.bind.annotation.XmlElement( name = "repo-routes-member" )
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Method addRepository.

Parameters:
repositoryRouteMemberRepository
 
     public void addRepositoryRepositoryRouteMemberRepository repositoryRouteMemberRepository )
     {
         getRepositories().addrepositoryRouteMemberRepository );
     } //-- void addRepository( RepositoryRouteMemberRepository )
 
    
Get the group this route is attached to.

Returns:
String
 
     public String getGroupId()
     {
         return this.;
     } //-- String getGroupId()
 
    
Get the pattern associated to this route.

Returns:
String
 
     public String getPattern()
     {
         return this.;
     } //-- String getPattern()
 
    
Method getRepositories.

Returns:
List
 
     {
         if ( this. == null )
         {
             this. = new java.util.ArrayList<RepositoryRouteMemberRepository>();
         }
        return this.;
    } //-- java.util.List<RepositoryRouteMemberRepository> getRepositories()

    
Get the URL used to manage this repository route.

Returns:
String
    public String getResourceURI()
    {
        return this.;
    } //-- String getResourceURI()

    
Get the type of rule (inclusive, exclusive, etc.).

Returns:
String
    public String getRuleType()
    {
        return this.;
    } //-- String getRuleType()

    
Method removeRepository.

Parameters:
repositoryRouteMemberRepository
    public void removeRepositoryRepositoryRouteMemberRepository repositoryRouteMemberRepository )
    {
        getRepositories().removerepositoryRouteMemberRepository );
    } //-- void removeRepository( RepositoryRouteMemberRepository )

    
Set the group this route is attached to.

Parameters:
groupId
    public void setGroupIdString groupId )
    {
        this. = groupId;
    } //-- void setGroupId( String )

    
Set the pattern associated to this route.

Parameters:
pattern
    public void setPatternString pattern )
    {
        this. = pattern;
    } //-- void setPattern( String )

    
Set the list of repositories in the associated group, that will be applied to route (or excluded based upon ruleType).

Parameters:
repositories
    public void setRepositoriesjava.util.List<RepositoryRouteMemberRepositoryrepositories )
    {
        this. = repositories;
    } //-- void setRepositories( java.util.List )

    
Set the URL used to manage this repository route.

Parameters:
resourceURI
    public void setResourceURIString resourceURI )
    {
        this. = resourceURI;
    } //-- void setResourceURI( String )

    
Set the type of rule (inclusive, exclusive, etc.).

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