|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.dotnet.executable.impl.CapabilityMatcherImpl
public class CapabilityMatcherImpl
Provides an implementation of the CapabilityMatcher interface.
| Constructor Summary | |
|---|---|
CapabilityMatcherImpl()
|
|
| Method Summary | |
|---|---|
void |
enableLogging(org.codehaus.plexus.logging.Logger logger)
|
CompilerCapability |
matchCompilerCapabilityFor(CompilerRequirement compilerRequirement)
Returns compiler capability for the specified requirement. |
CompilerCapability |
matchCompilerCapabilityFor(CompilerRequirement compilerRequirement,
java.util.List<ExecutableMatchPolicy> matchPolicies)
Returns compiler capability for the specified requirement and match policies. |
ExecutableCapability |
matchExecutableCapabilityFor(ExecutableRequirement executableRequirement)
Returns the PlatformCapability for the given vendor and language. |
ExecutableCapability |
matchExecutableCapabilityFor(ExecutableRequirement executableRequirement,
java.util.List<ExecutableMatchPolicy> matchPolicies)
Returns the PlatformCapability for the given vendor, language and match policies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CapabilityMatcherImpl()
| Method Detail |
|---|
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
enableLogging in interface org.codehaus.plexus.logging.LogEnabled
public CompilerCapability matchCompilerCapabilityFor(CompilerRequirement compilerRequirement,
java.util.List<ExecutableMatchPolicy> matchPolicies)
throws PlatformUnsupportedException
CapabilityMatcher
matchCompilerCapabilityFor in interface CapabilityMatchercompilerRequirement - requirements for the compilermatchPolicies - the policies used to specialize the match
PlatformUnsupportedException - if the requirements cannot be met by the platform
public CompilerCapability matchCompilerCapabilityFor(CompilerRequirement compilerRequirement)
throws PlatformUnsupportedException
CapabilityMatcher
matchCompilerCapabilityFor in interface CapabilityMatchercompilerRequirement - the requirements for the compiler
PlatformUnsupportedException - if the requirements cannot be met by the platform
public ExecutableCapability matchExecutableCapabilityFor(ExecutableRequirement executableRequirement)
throws PlatformUnsupportedException
PlatformCapability for the given vendor and language.
matchExecutableCapabilityFor in interface CapabilityMatcherexecutableRequirement -
PlatformCapability for the given vendor and language.
PlatformUnsupportedException - if the vendor and language (as specified in plugin-compilers.xml)
are not available for the invoking operating system.
public ExecutableCapability matchExecutableCapabilityFor(ExecutableRequirement executableRequirement,
java.util.List<ExecutableMatchPolicy> matchPolicies)
throws PlatformUnsupportedException
PlatformCapability for the given vendor, language and match policies. For this query to return
a platform capability ALL must match (general AND condition). The matchPolicies allow the developer to customize
the query results by any of the PlatformCapability properties.
matchExecutableCapabilityFor in interface CapabilityMatcherexecutableRequirement - matchPolicies - policies for matching capabilities
PlatformCapability for the given vendor, language and match policies.
PlatformUnsupportedException - if the vendor and language (as specified in plugin-compilers.xml)
are not available for the invoking operating system and/or any of the match policies fail.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||