org.apache.maven.dotnet.vendor
Interface VendorInfo


public interface VendorInfo

Provides accessors for obtaining information about a vendor.

Author:
Shane Isbell

Nested Class Summary
static class VendorInfo.Factory
          Provides factory services for creating a default instance of vendor info.
 
Method Summary
 java.util.List<java.io.File> getExecutablePaths()
          Returns the path where the executable lives.
 java.lang.String getFrameworkVersion()
          Returns framework version of the executable
 Vendor getVendor()
          Returns vendor
 java.lang.String getVendorVersion()
          Returns vendor version.
 boolean isDefault()
          If the vendor information is the default (or preferred) value for a given vendor, returns true, otherwise returns false.
 void setDefault(boolean isDefault)
          Set to true if the vendor information is the default, otherwise set to false.
 void setExecutablePaths(java.util.List<java.io.File> executablePaths)
          Sets the path where the executable lives.
 void setFrameworkVersion(java.lang.String frameworkVersion)
          Sets the framework version of the executable
 void setVendor(Vendor vendor)
           
 void setVendorVersion(java.lang.String vendorVersion)
          Sets vendor version
 

Method Detail

getVendor

Vendor getVendor()
Returns vendor

Returns:
vendor

setVendor

void setVendor(Vendor vendor)
Parameters:
vendor -

getVendorVersion

java.lang.String getVendorVersion()
Returns vendor version.

Returns:
vendor version

setVendorVersion

void setVendorVersion(java.lang.String vendorVersion)
Sets vendor version

Parameters:
vendorVersion - the vendor version

getFrameworkVersion

java.lang.String getFrameworkVersion()
Returns framework version of the executable

Returns:
the framework version of the executable

setFrameworkVersion

void setFrameworkVersion(java.lang.String frameworkVersion)
Sets the framework version of the executable

Parameters:
frameworkVersion -

getExecutablePaths

java.util.List<java.io.File> getExecutablePaths()
Returns the path where the executable lives.

Returns:
the path where the executable lives

setExecutablePaths

void setExecutablePaths(java.util.List<java.io.File> executablePaths)
Sets the path where the executable lives.

Parameters:
executablePaths - the path where the executable lives

isDefault

boolean isDefault()
If the vendor information is the default (or preferred) value for a given vendor, returns true, otherwise returns false. This allows the vendor matching framework to choose a specific version of the compiler vendor (such as MONO 1.1.13.8 vs 1.1.18) if such a version is not specified within the pom.

Returns:
If the vendor information is the default (or preferred) value for a given vendor, returns true, otherwise returns false.

setDefault

void setDefault(boolean isDefault)
Set to true if the vendor information is the default, otherwise set to false.

Parameters:
isDefault -


Copyright © 2007 NMaven. All Rights Reserved.