Package org.sonatype.maven.polyglot
Class PolyglotModelUtil
- java.lang.Object
-
- org.sonatype.maven.polyglot.PolyglotModelUtil
-
public class PolyglotModelUtil extends java.lang.ObjectSupport for models.- Since:
- 0.7
-
-
Constructor Summary
Constructors Constructor Description PolyglotModelUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetLocation(java.util.Map<?,?> options)Gets the location, as configured via theModelProcessor.SOURCEkey.static java.io.FilegetLocationFile(java.util.Map<?,?> options)
-
-
-
Method Detail
-
getLocation
public static java.lang.String getLocation(java.util.Map<?,?> options)
Gets the location, as configured via theModelProcessor.SOURCEkey. Supports values of:- String
- File
- URL
- ModelSource
- Returns:
- The model location; or null.
-
getLocationFile
public static java.io.File getLocationFile(java.util.Map<?,?> options)
-
-