Package org.sonatype.maven.polyglot
Class PolyglotModelUtil
java.lang.Object
org.sonatype.maven.polyglot.PolyglotModelUtil
Support for models.
- Since:
- 0.7
- Author:
- Jason Dillon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getLocation
(Map<?, ?> options) Gets the location, as configured via theModelProcessor.SOURCE
key.static File
getLocationFile
(Map<?, ?> options)
-
Constructor Details
-
PolyglotModelUtil
public PolyglotModelUtil()
-
-
Method Details
-
getLocation
Gets the location, as configured via theModelProcessor.SOURCE
key. Supports values of:- String
- File
- URL
- ModelSource
- Returns:
- The model location; or null.
-
getLocationFile
-