|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.dotnet.vendor.VendorFactory
public final class VendorFactory
Provides services for returning an instance of Vendor based on the OS or name.
Method Summary | |
---|---|
static Vendor |
createVendorFromName(java.lang.String vendorName)
Returns a vendor instance for the given vendor name: MICROSOFT, DotGNU, MONO. |
static Vendor |
getDefaultVendorForOS()
Returns the default vendor of the operating system on which the application is running: Microsoft for windows and Mono for all others. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Vendor getDefaultVendorForOS() throws PlatformUnsupportedException
PlatformUnsupportedException
- if the default vendor cannot be determinedpublic static Vendor createVendorFromName(java.lang.String vendorName) throws VendorUnsupportedException
vendorName
- the name of a vendor
VendorUnsupportedException
- if the vendor is not known
java.lang.NullPointerException
- if the vendor name parameter is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |