public class Repository extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value)
Method addProperty.
|
void |
addStereotype(Stereotype stereotype)
Method addStereotype.
|
Repository |
clone()
Method clone.
|
Object |
getConfiguration()
Get arbitrary XML used to configure structure of the
repository.
|
Object |
getFilter()
Get a boolean expression describing which artifacts can be
stored in this repository.
|
String |
getId()
Get unique string identifying this repository.
|
Properties |
getProperties()
Method getProperties.
|
List<Stereotype> |
getStereotypes()
Method getStereotypes.
|
String |
getType()
Get role hint of Plexus component implementing the
repository.
|
void |
removeStereotype(Stereotype stereotype)
Method removeStereotype.
|
void |
setConfiguration(Object configuration)
Set arbitrary XML used to configure structure of the
repository.
|
void |
setFilter(Object filter)
Set a boolean expression describing which artifacts can be
stored in this repository.
|
void |
setId(String id)
Set unique string identifying this repository.
|
void |
setProperties(Properties properties)
Set properties associated with this repository.
|
void |
setStereotypes(List<Stereotype> stereotypes)
Set list of artifact types that can be stored in this
repository.
|
void |
setType(String type)
Set role hint of Plexus component implementing the
repository.
|
public void addProperty(String key, String value)
key
- value
- public void addStereotype(Stereotype stereotype)
stereotype
- public Repository clone()
public Object getConfiguration()
public Object getFilter()
public String getId()
public Properties getProperties()
public List<Stereotype> getStereotypes()
public String getType()
public void removeStereotype(Stereotype stereotype)
stereotype
- public void setConfiguration(Object configuration)
configuration
- public void setFilter(Object filter)
filter
- public void setId(String id)
id
- public void setProperties(Properties properties)
properties
- public void setStereotypes(List<Stereotype> stereotypes)
stereotypes
- public void setType(String type)
type
- Copyright © 2012-2017 Red Hat, Inc.. All Rights Reserved.