Package microsoft.build.tasks
Class ResolveComReference
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- microsoft.build.utilities.AppDomainIsolatedTask
-
- microsoft.build.tasks.AppDomainIsolatedTaskExtension
-
- microsoft.build.tasks.ResolveComReference
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ResolveComReference extends AppDomainIsolatedTaskExtension
The base .NET class managing Microsoft.Build.Tasks.ResolveComReference, 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.ResolveComReference
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.ResolveComReferencestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ResolveComReference()
ResolveComReference(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResolveComReference
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoResolveComReference
, a cast assert is made to check if types are compatible.boolean
Execute()
boolean
getDelaySign()
java.lang.String[]
getEnvironmentVariables()
boolean
getExecuteAsTool()
boolean
getIncludeVersionInInteropName()
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
getKeyContainer()
java.lang.String
getKeyFile()
boolean
getNoClassMembers()
ITaskItem[]
getResolvedAssemblyReferences()
ITaskItem[]
getResolvedFiles()
ITaskItem[]
getResolvedModules()
java.lang.String
getSdkToolsPath()
boolean
getSilent()
java.lang.String
getStateFile()
java.lang.String
getTargetFrameworkVersion()
java.lang.String
getTargetProcessorArchitecture()
ITaskItem[]
getTypeLibFiles()
ITaskItem[]
getTypeLibNames()
java.lang.String
getWrapperOutputDirectory()
void
setDelaySign(boolean DelaySign)
void
setEnvironmentVariables(java.lang.String[] EnvironmentVariables)
void
setExecuteAsTool(boolean ExecuteAsTool)
void
setIncludeVersionInInteropName(boolean IncludeVersionInInteropName)
void
setJCOInstance(JCObject instance)
void
setKeyContainer(java.lang.String KeyContainer)
void
setKeyFile(java.lang.String KeyFile)
void
setNoClassMembers(boolean NoClassMembers)
void
setResolvedAssemblyReferences(ITaskItem[] ResolvedAssemblyReferences)
void
setResolvedFiles(ITaskItem[] ResolvedFiles)
void
setResolvedModules(ITaskItem[] ResolvedModules)
void
setSdkToolsPath(java.lang.String SdkToolsPath)
void
setSilent(boolean Silent)
void
setStateFile(java.lang.String StateFile)
void
setTargetFrameworkVersion(java.lang.String TargetFrameworkVersion)
void
setTargetProcessorArchitecture(java.lang.String TargetProcessorArchitecture)
void
setTypeLibFiles(ITaskItem[] TypeLibFiles)
void
setTypeLibNames(ITaskItem[] TypeLibNames)
void
setWrapperOutputDirectory(java.lang.String WrapperOutputDirectory)
-
Methods inherited from class microsoft.build.tasks.AppDomainIsolatedTaskExtension
getLog
-
Methods inherited from class microsoft.build.utilities.AppDomainIsolatedTask
getBuildEngine, getHostObject, InitializeLifetimeService, setBuildEngine, setHostObject
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService
-
-
-
-
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.ResolveComReference- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResolveComReference
public ResolveComReference(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ResolveComReference
public ResolveComReference() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
-
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 classAppDomainIsolatedTaskExtension
- 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 classAppDomainIsolatedTaskExtension
- 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 classAppDomainIsolatedTaskExtension
- 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 classAppDomainIsolatedTaskExtension
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classAppDomainIsolatedTaskExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classAppDomainIsolatedTaskExtension
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ResolveComReference cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoResolveComReference
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ResolveComReference
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Execute
public boolean Execute() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, FormatException, OverflowException, NotSupportedException, PlatformNotSupportedException, ObjectDisposedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, IndexOutOfRangeException, NullReferenceException, SecurityException, SerializationException, COMException, MissingMethodException, TargetInvocationException, AbandonedMutexException, TypeLoadException, NotImplementedException, MulticastNotSupportedException
- Overrides:
Execute
in classAppDomainIsolatedTask
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
ArgumentException
FormatException
OverflowException
NotSupportedException
PlatformNotSupportedException
ObjectDisposedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
IndexOutOfRangeException
NullReferenceException
SecurityException
SerializationException
COMException
MissingMethodException
TargetInvocationException
AbandonedMutexException
TypeLoadException
NotImplementedException
MulticastNotSupportedException
-
getDelaySign
public boolean getDelaySign() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDelaySign
public void setDelaySign(boolean DelaySign) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getExecuteAsTool
public boolean getExecuteAsTool() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setExecuteAsTool
public void setExecuteAsTool(boolean ExecuteAsTool) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIncludeVersionInInteropName
public boolean getIncludeVersionInInteropName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIncludeVersionInInteropName
public void setIncludeVersionInInteropName(boolean IncludeVersionInInteropName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNoClassMembers
public boolean getNoClassMembers() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNoClassMembers
public void setNoClassMembers(boolean NoClassMembers) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSilent
public boolean getSilent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSilent
public void setSilent(boolean Silent) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getResolvedAssemblyReferences
public final ITaskItem[] getResolvedAssemblyReferences() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setResolvedAssemblyReferences
public void setResolvedAssemblyReferences(ITaskItem[] ResolvedAssemblyReferences) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getResolvedFiles
public final ITaskItem[] getResolvedFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setResolvedFiles
public void setResolvedFiles(ITaskItem[] ResolvedFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getResolvedModules
public final ITaskItem[] getResolvedModules() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setResolvedModules
public void setResolvedModules(ITaskItem[] ResolvedModules) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTypeLibFiles
public final ITaskItem[] getTypeLibFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTypeLibFiles
public void setTypeLibFiles(ITaskItem[] TypeLibFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTypeLibNames
public final ITaskItem[] getTypeLibNames() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTypeLibNames
public void setTypeLibNames(ITaskItem[] TypeLibNames) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getKeyContainer
public java.lang.String getKeyContainer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeyContainer
public void setKeyContainer(java.lang.String KeyContainer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getKeyFile
public java.lang.String getKeyFile() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setKeyFile
public void setKeyFile(java.lang.String KeyFile) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSdkToolsPath
public java.lang.String getSdkToolsPath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSdkToolsPath
public void setSdkToolsPath(java.lang.String SdkToolsPath) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStateFile
public java.lang.String getStateFile() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStateFile
public void setStateFile(java.lang.String StateFile) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTargetFrameworkVersion
public java.lang.String getTargetFrameworkVersion() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTargetFrameworkVersion
public void setTargetFrameworkVersion(java.lang.String TargetFrameworkVersion) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTargetProcessorArchitecture
public java.lang.String getTargetProcessorArchitecture() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTargetProcessorArchitecture
public void setTargetProcessorArchitecture(java.lang.String TargetProcessorArchitecture) throws java.lang.Throwable, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
getWrapperOutputDirectory
public java.lang.String getWrapperOutputDirectory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setWrapperOutputDirectory
public void setWrapperOutputDirectory(java.lang.String WrapperOutputDirectory) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEnvironmentVariables
public java.lang.String[] getEnvironmentVariables() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnvironmentVariables
public void setEnvironmentVariables(java.lang.String[] EnvironmentVariables) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-