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;

Shadow (or Virtual) repository parameters, extending the base resource.

Version:
$Revision$ $Date$
@SuppressWarnings"all" )
@javax.xml.bind.annotation.XmlType( name = "shadow-repository" )
    extends RepositoryBaseResource
    implements java.io.Serializable
      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    
The repository that this virtual repository is shadowing.
    private String shadowOf;

    
Flag that determines if the virtual repository should sync its content with master on startup.
    private boolean syncAtStartup = false;
      //-----------/
     //- Methods -/
    //-----------/

    
Get the repository that this virtual repository is shadowing.

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

    
Get flag that determines if the virtual repository should sync its content with master on startup.

Returns:
boolean
    public boolean isSyncAtStartup()
    {
        return this.;
    } //-- boolean isSyncAtStartup()

    
Set the repository that this virtual repository is shadowing.

Parameters:
shadowOf
    public void setShadowOfString shadowOf )
    {
        this. = shadowOf;
    } //-- void setShadowOf( String )

    
Set flag that determines if the virtual repository should sync its content with master on startup.

Parameters:
syncAtStartup
    public void setSyncAtStartupboolean syncAtStartup )
    {
        this. = syncAtStartup;
    } //-- void setSyncAtStartup( boolean )
New to GrepCode? Check out our FAQ X