public class ModelBase extends Object implements Serializable, Cloneable, InputLocationTracker
Model
and the
Profile
objects.Constructor and Description |
---|
ModelBase() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(Dependency dependency)
Method addDependency.
|
void |
addRepository(Repository repository)
Method addRepository.
|
ModelBase |
clone()
Method clone.
|
List<Dependency> |
getDependencies()
Method getDependencies.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
List<Repository> |
getRepositories()
Method getRepositories.
|
void |
removeDependency(Dependency dependency)
Method removeDependency.
|
void |
removeRepository(Repository repository)
Method removeRepository.
|
void |
setDependencies(List<Dependency> dependencies)
Set this element describes all of the dependencies
associated with a
project.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setRepositories(List<Repository> repositories)
Set the lists of the remote repositories for discovering
dependencies and
extensions.
|
public void addDependency(Dependency dependency)
dependency
- public void addRepository(Repository repository)
repository
- public List<Dependency> getDependencies()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public List<Repository> getRepositories()
public void removeDependency(Dependency dependency)
dependency
- public void removeRepository(Repository repository)
repository
- public void setDependencies(List<Dependency> dependencies)
dependencies
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setRepositories(List<Repository> repositories)
repositories
- Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.