Package microsoft.build.tasks
Class GenerateResource
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.Task
-
- microsoft.build.tasks.TaskExtension
-
- microsoft.build.tasks.GenerateResource
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class GenerateResource extends TaskExtension
The base .NET class managing Microsoft.Build.Tasks.GenerateResource, 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.GenerateResource
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.GenerateResourcestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description GenerateResource()GenerateResource(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenerateResourcecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoGenerateResource, a cast assert is made to check if types are compatible.booleanExecute()ITaskItem[]getAdditionalInputs()java.lang.String[]getEnvironmentVariables()ITaskItem[]getExcludedInputPaths()booleangetExecuteAsTool()booleangetExtractResWFiles()ITaskItem[]getFilesWritten()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 TypebooleangetMinimalRebuildFromTracking()booleangetNeverLockTypeAssemblies()java.lang.StringgetOutputDirectory()ITaskItem[]getOutputResources()booleangetPublicClass()ITaskItem[]getReferences()java.lang.StringgetSdkToolsPath()ITaskItem[]getSources()ITaskItemgetStateFile()java.lang.StringgetStronglyTypedClassName()java.lang.StringgetStronglyTypedFileName()java.lang.StringgetStronglyTypedLanguage()java.lang.StringgetStronglyTypedManifestPrefix()java.lang.StringgetStronglyTypedNamespace()ITaskItem[]getTLogReadFiles()ITaskItem[]getTLogWriteFiles()java.lang.StringgetToolArchitecture()java.lang.StringgetTrackerFrameworkPath()java.lang.StringgetTrackerLogDirectory()java.lang.StringgetTrackerSdkPath()booleangetTrackFileAccess()booleangetUseSourcePath()voidsetAdditionalInputs(ITaskItem[] AdditionalInputs)voidsetEnvironmentVariables(java.lang.String[] EnvironmentVariables)voidsetExcludedInputPaths(ITaskItem[] ExcludedInputPaths)voidsetExecuteAsTool(boolean ExecuteAsTool)voidsetExtractResWFiles(boolean ExtractResWFiles)voidsetJCOInstance(JCObject instance)voidsetMinimalRebuildFromTracking(boolean MinimalRebuildFromTracking)voidsetNeverLockTypeAssemblies(boolean NeverLockTypeAssemblies)voidsetOutputDirectory(java.lang.String OutputDirectory)voidsetOutputResources(ITaskItem[] OutputResources)voidsetPublicClass(boolean PublicClass)voidsetReferences(ITaskItem[] References)voidsetSdkToolsPath(java.lang.String SdkToolsPath)voidsetSources(ITaskItem[] Sources)voidsetStateFile(ITaskItem StateFile)voidsetStronglyTypedClassName(java.lang.String StronglyTypedClassName)voidsetStronglyTypedFileName(java.lang.String StronglyTypedFileName)voidsetStronglyTypedLanguage(java.lang.String StronglyTypedLanguage)voidsetStronglyTypedManifestPrefix(java.lang.String StronglyTypedManifestPrefix)voidsetStronglyTypedNamespace(java.lang.String StronglyTypedNamespace)voidsetToolArchitecture(java.lang.String ToolArchitecture)voidsetTrackerFrameworkPath(java.lang.String TrackerFrameworkPath)voidsetTrackerLogDirectory(java.lang.String TrackerLogDirectory)voidsetTrackerSdkPath(java.lang.String TrackerSdkPath)voidsetTrackFileAccess(boolean TrackFileAccess)voidsetUseSourcePath(boolean UseSourcePath)-
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.GenerateResource- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GenerateResource
public GenerateResource(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
GenerateResource
public GenerateResource() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullException
-
-
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 GenerateResource cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoGenerateResource, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
GenerateResourceinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Execute
public boolean Execute() throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, NullReferenceException, SecurityException, IOException, SerializationException, FormatException, PathTooLongException, OverflowException, ConfigurationErrorsException, PlatformNotSupportedException, ObjectDisposedException, NotImplementedException, UnauthorizedAccessException, XmlException, MulticastNotSupportedException, BadImageFormatException, RankException, CannotUnloadAppDomainException, RemotingException- Overrides:
Executein classTask- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionNullReferenceExceptionSecurityExceptionIOExceptionSerializationExceptionFormatExceptionPathTooLongExceptionOverflowExceptionConfigurationErrorsExceptionPlatformNotSupportedExceptionObjectDisposedExceptionNotImplementedExceptionUnauthorizedAccessExceptionXmlExceptionMulticastNotSupportedExceptionBadImageFormatExceptionRankExceptionCannotUnloadAppDomainExceptionRemotingException
-
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
-
getExtractResWFiles
public boolean getExtractResWFiles() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setExtractResWFiles
public void setExtractResWFiles(boolean ExtractResWFiles) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMinimalRebuildFromTracking
public boolean getMinimalRebuildFromTracking() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMinimalRebuildFromTracking
public void setMinimalRebuildFromTracking(boolean MinimalRebuildFromTracking) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getNeverLockTypeAssemblies
public boolean getNeverLockTypeAssemblies() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setNeverLockTypeAssemblies
public void setNeverLockTypeAssemblies(boolean NeverLockTypeAssemblies) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPublicClass
public boolean getPublicClass() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPublicClass
public void setPublicClass(boolean PublicClass) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTrackFileAccess
public boolean getTrackFileAccess() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTrackFileAccess
public void setTrackFileAccess(boolean TrackFileAccess) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUseSourcePath
public boolean getUseSourcePath() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseSourcePath
public void setUseSourcePath(boolean UseSourcePath) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStateFile
public ITaskItem getStateFile() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStateFile
public void setStateFile(ITaskItem StateFile) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAdditionalInputs
public final ITaskItem[] getAdditionalInputs() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAdditionalInputs
public void setAdditionalInputs(ITaskItem[] AdditionalInputs) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getExcludedInputPaths
public final ITaskItem[] getExcludedInputPaths() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setExcludedInputPaths
public void setExcludedInputPaths(ITaskItem[] ExcludedInputPaths) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFilesWritten
public final ITaskItem[] getFilesWritten() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedException
-
getOutputResources
public final ITaskItem[] getOutputResources() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOutputResources
public void setOutputResources(ITaskItem[] OutputResources) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReferences
public final ITaskItem[] getReferences() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReferences
public void setReferences(ITaskItem[] References) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSources
public final ITaskItem[] getSources() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSources
public void setSources(ITaskItem[] Sources) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTLogReadFiles
public final ITaskItem[] getTLogReadFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTLogWriteFiles
public final ITaskItem[] getTLogWriteFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOutputDirectory
public java.lang.String getOutputDirectory() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOutputDirectory
public void setOutputDirectory(java.lang.String OutputDirectory) 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
-
getStronglyTypedClassName
public java.lang.String getStronglyTypedClassName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStronglyTypedClassName
public void setStronglyTypedClassName(java.lang.String StronglyTypedClassName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStronglyTypedFileName
public java.lang.String getStronglyTypedFileName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStronglyTypedFileName
public void setStronglyTypedFileName(java.lang.String StronglyTypedFileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStronglyTypedLanguage
public java.lang.String getStronglyTypedLanguage() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStronglyTypedLanguage
public void setStronglyTypedLanguage(java.lang.String StronglyTypedLanguage) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStronglyTypedManifestPrefix
public java.lang.String getStronglyTypedManifestPrefix() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStronglyTypedManifestPrefix
public void setStronglyTypedManifestPrefix(java.lang.String StronglyTypedManifestPrefix) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStronglyTypedNamespace
public java.lang.String getStronglyTypedNamespace() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStronglyTypedNamespace
public void setStronglyTypedNamespace(java.lang.String StronglyTypedNamespace) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getToolArchitecture
public java.lang.String getToolArchitecture() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setToolArchitecture
public void setToolArchitecture(java.lang.String ToolArchitecture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTrackerFrameworkPath
public java.lang.String getTrackerFrameworkPath() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTrackerFrameworkPath
public void setTrackerFrameworkPath(java.lang.String TrackerFrameworkPath) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTrackerLogDirectory
public java.lang.String getTrackerLogDirectory() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTrackerLogDirectory
public void setTrackerLogDirectory(java.lang.String TrackerLogDirectory) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTrackerSdkPath
public java.lang.String getTrackerSdkPath() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTrackerSdkPath
public void setTrackerSdkPath(java.lang.String TrackerSdkPath) 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
-
-