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