org.apache.archiva.configuration
Class AbstractRepositoryConfiguration

java.lang.Object
  extended by org.apache.archiva.configuration.AbstractRepositoryConfiguration
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ManagedRepositoryConfiguration, RemoteRepositoryConfiguration

public class AbstractRepositoryConfiguration
extends Object
implements Serializable

Class AbstractRepositoryConfiguration.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  String description
          The description of this repository.
private  String id
          The repository identifier.
private  String indexDir
          The directory for the indexes of this repository.
private  String layout
          The layout of the repository.
private  String name
          The descriptive name of the repository.
 
Constructor Summary
AbstractRepositoryConfiguration()
           
 
Method Summary
 boolean equals(Object other)
           
 String getDescription()
          Get the description of this repository.
 String getId()
          Get the repository identifier.
 String getIndexDir()
          Get the directory for the indexes of this repository.
 String getLayout()
          Get the layout of the repository.
 String getName()
          Get the descriptive name of the repository.
 int hashCode()
           
 void setDescription(String description)
          Set the description of this repository.
 void setId(String id)
          Set the repository identifier.
 void setIndexDir(String indexDir)
          Set the directory for the indexes of this repository.
 void setLayout(String layout)
          Set the layout of the repository.
 void setName(String name)
          Set the descriptive name of the repository.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id
The repository identifier.


name

private String name
The descriptive name of the repository.


layout

private String layout
The layout of the repository. Valid values are "default" and "legacy".


indexDir

private String indexDir
The directory for the indexes of this repository.


description

private String description
The description of this repository.

Constructor Detail

AbstractRepositoryConfiguration

public AbstractRepositoryConfiguration()
Method Detail

getDescription

public String getDescription()
Get the description of this repository.

Returns:
String

getId

public String getId()
Get the repository identifier.

Returns:
String

getIndexDir

public String getIndexDir()
Get the directory for the indexes of this repository.

Returns:
String

getLayout

public String getLayout()
Get the layout of the repository. Valid values are "default" and "legacy".

Returns:
String

getName

public String getName()
Get the descriptive name of the repository.

Returns:
String

setDescription

public void setDescription(String description)
Set the description of this repository.

Parameters:
description -

setId

public void setId(String id)
Set the repository identifier.

Parameters:
id -

setIndexDir

public void setIndexDir(String indexDir)
Set the directory for the indexes of this repository.

Parameters:
indexDir -

setLayout

public void setLayout(String layout)
Set the layout of the repository. Valid values are "default" and "legacy".

Parameters:
layout -

setName

public void setName(String name)
Set the descriptive name of the repository.

Parameters:
name -

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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