Package microsoft.build.tasks
Class GetInstalledSDKLocations
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.Task
-
- microsoft.build.tasks.TaskExtension
-
- microsoft.build.tasks.GetInstalledSDKLocations
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class GetInstalledSDKLocations extends TaskExtension
The base .NET class managing Microsoft.Build.Tasks.GetInstalledSDKLocations, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.GetInstalledSDKLocations
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0static java.lang.String
className
Qualified class name: Microsoft.Build.Tasks.GetInstalledSDKLocationsstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description GetInstalledSDKLocations()
GetInstalledSDKLocations(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetInstalledSDKLocations
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoGetInstalledSDKLocations
, a cast assert is made to check if types are compatible.boolean
Execute()
ITaskItem[]
getInstalledSDKs()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String[]
getSDKDirectoryRoots()
java.lang.String
getSDKRegistryRoot()
java.lang.String
getTargetPlatformIdentifier()
java.lang.String
getTargetPlatformVersion()
void
setInstalledSDKs(ITaskItem[] InstalledSDKs)
void
setJCOInstance(JCObject instance)
void
setSDKDirectoryRoots(java.lang.String[] SDKDirectoryRoots)
void
setSDKRegistryRoot(java.lang.String SDKRegistryRoot)
void
setTargetPlatformIdentifier(java.lang.String TargetPlatformIdentifier)
void
setTargetPlatformVersion(java.lang.String TargetPlatformVersion)
-
Methods inherited from class microsoft.build.tasks.TaskExtension
getLog
-
Methods inherited from class microsoft.build.utilities.Task
getBuildEngine, getBuildEngine2, getBuildEngine3, getBuildEngine4, getHostObject, setBuildEngine, setHostObject
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Tasks.GetInstalledSDKLocations- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetInstalledSDKLocations
public GetInstalledSDKLocations(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
GetInstalledSDKLocations
public GetInstalledSDKLocations() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classTaskExtension
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classTaskExtension
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classTaskExtension
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classTaskExtension
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classTaskExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classTaskExtension
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static GetInstalledSDKLocations cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoGetInstalledSDKLocations
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
GetInstalledSDKLocations
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Execute
public boolean Execute() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, FormatException, OverflowException, ConfigurationException, OutOfMemoryException, PathTooLongException, PlatformNotSupportedException, NotSupportedException, NullReferenceException, KeyNotFoundException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException
- Overrides:
Execute
in classTask
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentException
FormatException
OverflowException
ConfigurationException
OutOfMemoryException
PathTooLongException
PlatformNotSupportedException
NotSupportedException
NullReferenceException
KeyNotFoundException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
-
getInstalledSDKs
public final ITaskItem[] getInstalledSDKs() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInstalledSDKs
public void setInstalledSDKs(ITaskItem[] InstalledSDKs) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSDKRegistryRoot
public java.lang.String getSDKRegistryRoot() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSDKRegistryRoot
public void setSDKRegistryRoot(java.lang.String SDKRegistryRoot) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTargetPlatformIdentifier
public java.lang.String getTargetPlatformIdentifier() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTargetPlatformIdentifier
public void setTargetPlatformIdentifier(java.lang.String TargetPlatformIdentifier) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getTargetPlatformVersion
public java.lang.String getTargetPlatformVersion() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTargetPlatformVersion
public void setTargetPlatformVersion(java.lang.String TargetPlatformVersion) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getSDKDirectoryRoots
public java.lang.String[] getSDKDirectoryRoots() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSDKDirectoryRoots
public void setSDKDirectoryRoots(java.lang.String[] SDKDirectoryRoots) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-