Package microsoft.build.tasks
Class GenerateBootstrapper
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.Task
-
- microsoft.build.tasks.TaskExtension
-
- microsoft.build.tasks.GenerateBootstrapper
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class GenerateBootstrapper extends TaskExtension
The base .NET class managing Microsoft.Build.Tasks.GenerateBootstrapper, 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.GenerateBootstrapper
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.StringassemblyFullNameFully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.Build.Tasks.v4.0static java.lang.StringclassNameQualified class name: Microsoft.Build.Tasks.GenerateBootstrapperstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description GenerateBootstrapper()GenerateBootstrapper(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenerateBootstrappercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoGenerateBootstrapper, a cast assert is made to check if types are compatible.booleanExecute()java.lang.StringgetApplicationFile()java.lang.StringgetApplicationName()booleangetApplicationRequiresElevation()java.lang.StringgetApplicationUrl()java.lang.String[]getBootstrapperComponentFiles()ITaskItem[]getBootstrapperItems()java.lang.StringgetBootstrapperKeyFile()java.lang.StringgetComponentsLocation()java.lang.StringgetComponentsUrl()booleangetCopyComponents()java.lang.StringgetCulture()java.lang.StringgetFallbackCulture()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetOutputPath()java.lang.StringgetPath()java.lang.StringgetSupportUrl()booleangetValidate()java.lang.StringgetVisualStudioVersion()voidsetApplicationFile(java.lang.String ApplicationFile)voidsetApplicationName(java.lang.String ApplicationName)voidsetApplicationRequiresElevation(boolean ApplicationRequiresElevation)voidsetApplicationUrl(java.lang.String ApplicationUrl)voidsetBootstrapperComponentFiles(java.lang.String[] BootstrapperComponentFiles)voidsetBootstrapperItems(ITaskItem[] BootstrapperItems)voidsetBootstrapperKeyFile(java.lang.String BootstrapperKeyFile)voidsetComponentsLocation(java.lang.String ComponentsLocation)voidsetComponentsUrl(java.lang.String ComponentsUrl)voidsetCopyComponents(boolean CopyComponents)voidsetCulture(java.lang.String Culture)voidsetFallbackCulture(java.lang.String FallbackCulture)voidsetJCOInstance(JCObject instance)voidsetOutputPath(java.lang.String OutputPath)voidsetPath(java.lang.String Path)voidsetSupportUrl(java.lang.String SupportUrl)voidsetValidate(boolean Validate)voidsetVisualStudioVersion(java.lang.String VisualStudioVersion)-
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.GenerateBootstrapper- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GenerateBootstrapper
public GenerateBootstrapper(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
GenerateBootstrapper
public GenerateBootstrapper() throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionIndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classTaskExtension- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classTaskExtension- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classTaskExtension- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classTaskExtension- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classTaskExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classTaskExtension- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static GenerateBootstrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoGenerateBootstrapper, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
GenerateBootstrapperinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Execute
public boolean Execute() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ObjectDisposedException, OutOfMemoryException, SecurityException, UnauthorizedAccessException, IOException, NotSupportedException, InvalidOperationException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, MissingManifestResourceException, XmlException, XPathException, XmlSchemaException, FormatException, OverflowException, InvalidCastException, NotImplementedException, UriFormatException, CryptographicException, PlatformNotSupportedException, AbandonedMutexException- Overrides:
Executein classTask- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionArgumentExceptionObjectDisposedExceptionOutOfMemoryExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionMissingManifestResourceExceptionXmlExceptionXPathExceptionXmlSchemaExceptionFormatExceptionOverflowExceptionInvalidCastExceptionNotImplementedExceptionUriFormatExceptionCryptographicExceptionPlatformNotSupportedExceptionAbandonedMutexException
-
getApplicationRequiresElevation
public boolean getApplicationRequiresElevation() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setApplicationRequiresElevation
public void setApplicationRequiresElevation(boolean ApplicationRequiresElevation) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCopyComponents
public boolean getCopyComponents() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCopyComponents
public void setCopyComponents(boolean CopyComponents) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getValidate
public boolean getValidate() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setValidate
public void setValidate(boolean Validate) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBootstrapperItems
public final ITaskItem[] getBootstrapperItems() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBootstrapperItems
public void setBootstrapperItems(ITaskItem[] BootstrapperItems) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getApplicationFile
public java.lang.String getApplicationFile() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setApplicationFile
public void setApplicationFile(java.lang.String ApplicationFile) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getApplicationName
public java.lang.String getApplicationName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setApplicationName
public void setApplicationName(java.lang.String ApplicationName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getApplicationUrl
public java.lang.String getApplicationUrl() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setApplicationUrl
public void setApplicationUrl(java.lang.String ApplicationUrl) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBootstrapperKeyFile
public java.lang.String getBootstrapperKeyFile() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBootstrapperKeyFile
public void setBootstrapperKeyFile(java.lang.String BootstrapperKeyFile) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getComponentsLocation
public java.lang.String getComponentsLocation() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setComponentsLocation
public void setComponentsLocation(java.lang.String ComponentsLocation) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getComponentsUrl
public java.lang.String getComponentsUrl() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setComponentsUrl
public void setComponentsUrl(java.lang.String ComponentsUrl) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCulture
public java.lang.String getCulture() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCulture
public void setCulture(java.lang.String Culture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFallbackCulture
public java.lang.String getFallbackCulture() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFallbackCulture
public void setFallbackCulture(java.lang.String FallbackCulture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOutputPath
public java.lang.String getOutputPath() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOutputPath
public void setOutputPath(java.lang.String OutputPath) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPath
public java.lang.String getPath() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPath
public void setPath(java.lang.String Path) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSupportUrl
public java.lang.String getSupportUrl() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setSupportUrl
public void setSupportUrl(java.lang.String SupportUrl) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getVisualStudioVersion
public java.lang.String getVisualStudioVersion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setVisualStudioVersion
public void setVisualStudioVersion(java.lang.String VisualStudioVersion) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBootstrapperComponentFiles
public java.lang.String[] getBootstrapperComponentFiles() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBootstrapperComponentFiles
public void setBootstrapperComponentFiles(java.lang.String[] BootstrapperComponentFiles) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-