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