|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutableCapability
Provides information about the capability of a specific executable or compiler plugin. The framework will match this
capability to an ExecutableRequirement
. The framework can then use the
getPluginClassName
method to instantiate an appropriate class that is capable of
supporting the ExecutableRequirement
.
Executable capabilities are specified within the executable-plugins.xml file.
ExecutableRequirement
,
CapabilityMatcher
Nested Class Summary | |
---|---|
static class |
ExecutableCapability.Factory
Provides factory services for creating a default instance of the executable capability. |
Method Summary | |
---|---|
java.lang.String |
getArchitecture()
Returns the architecture that the executable is capable of supporting. |
CommandCapability |
getCommandCapability()
Returns the command options that the executable is capable of supporting. |
java.lang.String |
getExecutable()
Returns the executable as it is given on the commandline. |
java.util.List<java.lang.String> |
getFrameworkVersions()
Returns a list of all .NET frameworks versions that the executable is capable of supporting. |
java.lang.String |
getIdentifier()
Returns the ID for this capability. |
java.lang.String |
getNetDependencyId()
Returns the net dependency id (within the net-dependencies.xml file). |
java.lang.String |
getOperatingSystem()
Returns the operating system that the executable is capable of supporting. |
java.lang.String |
getPluginClassName()
Returns the class name of the executable plugin that knows how to handle the execution request. |
java.lang.String |
getProfile()
Returns the supported profile. |
Vendor |
getVendor()
Returns the vendor capability of the executable: currently only - MS, MONO, DotGNU |
void |
setArchitecture(java.lang.String architecture)
Sets the architecture that the executable is capable of supporting. |
void |
setCommandCapability(CommandCapability commandCapability)
Sets the command options that the executable is capable of supporting. |
void |
setExecutable(java.lang.String executable)
Sets the executable as it is given on the commandline. |
void |
setFrameworkVersions(java.util.List<java.lang.String> frameworkVersions)
Sets a list of all .NET frameworks versions that the executable is capable of supporting. |
void |
setIdentifier(java.lang.String identifier)
Sets the ID for this capability. |
void |
setNetDependencyId(java.lang.String netDependencyId)
Sets the net dependency id. |
void |
setOperatingSystem(java.lang.String operatingSystem)
Sets the operating system that the executable is capable of supporting. |
void |
setPluginClassName(java.lang.String pluginClassName)
Sets the class name of the executable plugin that knows how to handle the execution request. |
void |
setProfile(java.lang.String profile)
Sets the supported profile. |
void |
setVendor(Vendor vendor)
Sets the vendor capability of the executable: currently only - MS, MONO, DotGNU |
Method Detail |
---|
CommandCapability getCommandCapability()
void setCommandCapability(CommandCapability commandCapability)
commandCapability
- the command capability, which is used to determine the command line parameters that
the executable supports.java.lang.String getIdentifier()
void setIdentifier(java.lang.String identifier)
identifier
- the ID of the capabilityVendor getVendor()
void setVendor(Vendor vendor)
vendor
- java.lang.String getProfile()
void setProfile(java.lang.String profile)
profile
- the profile of the executable.java.lang.String getOperatingSystem()
void setOperatingSystem(java.lang.String operatingSystem)
operatingSystem
- java.lang.String getArchitecture()
void setArchitecture(java.lang.String architecture)
architecture
- the architecture that the executable is capable of supportingjava.util.List<java.lang.String> getFrameworkVersions()
void setFrameworkVersions(java.util.List<java.lang.String> frameworkVersions)
frameworkVersions
- a list of all .NET frameworks versions that the executable is capable of supportingjava.lang.String getExecutable()
void setExecutable(java.lang.String executable)
executable
- the executable as it is given on the commandlinejava.lang.String getPluginClassName()
void setPluginClassName(java.lang.String pluginClassName)
pluginClassName
- the class name of the executable plugin that knows how to handle the execution requestjava.lang.String getNetDependencyId()
void setNetDependencyId(java.lang.String netDependencyId)
netDependencyId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |