|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelSource2
Provides access to the contents of a POM independently of the backing store (e.g. file system, database, memory).
Unlike ModelSource
, this interface supports loading of parent POM(s) from the same backing store and allows
construction of MavenProject instances without the need to have parent POM(s) available from local or remote
repositories.
ModelSource2 instances are cached in ModelBuildingRequest.getModelCache()
. Implementations must guarantee
that the connection to the backing store remains active until request's ModelCache
is discarded or flushed.
Method Summary | |
---|---|
URI |
getLocationURI()
Returns location of the POM, never null . |
ModelSource2 |
getRelatedSource(String relPath)
Returns model source identified by a path relative to this model source POM. |
Methods inherited from interface org.apache.maven.model.building.ModelSource |
---|
getInputStream, getLocation |
Method Detail |
---|
ModelSource2 getRelatedSource(String relPath)
relPath
parameter values that
relPath
- is the path of the requested model source relative to this model source POM.
null
if no such model source.URI getLocationURI()
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |