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.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.GenerateResourcestatic JCType
classType
The 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 GenerateResource
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoGenerateResource
, a cast assert is made to check if types are compatible.boolean
Execute()
ITaskItem[]
getAdditionalInputs()
java.lang.String[]
getEnvironmentVariables()
ITaskItem[]
getExcludedInputPaths()
boolean
getExecuteAsTool()
boolean
getExtractResWFiles()
ITaskItem[]
getFilesWritten()
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 Typeboolean
getMinimalRebuildFromTracking()
boolean
getNeverLockTypeAssemblies()
java.lang.String
getOutputDirectory()
ITaskItem[]
getOutputResources()
boolean
getPublicClass()
ITaskItem[]
getReferences()
java.lang.String
getSdkToolsPath()
ITaskItem[]
getSources()
ITaskItem
getStateFile()
java.lang.String
getStronglyTypedClassName()
java.lang.String
getStronglyTypedFileName()
java.lang.String
getStronglyTypedLanguage()
java.lang.String
getStronglyTypedManifestPrefix()
java.lang.String
getStronglyTypedNamespace()
ITaskItem[]
getTLogReadFiles()
ITaskItem[]
getTLogWriteFiles()
java.lang.String
getToolArchitecture()
java.lang.String
getTrackerFrameworkPath()
java.lang.String
getTrackerLogDirectory()
java.lang.String
getTrackerSdkPath()
boolean
getTrackFileAccess()
boolean
getUseSourcePath()
void
setAdditionalInputs(ITaskItem[] AdditionalInputs)
void
setEnvironmentVariables(java.lang.String[] EnvironmentVariables)
void
setExcludedInputPaths(ITaskItem[] ExcludedInputPaths)
void
setExecuteAsTool(boolean ExecuteAsTool)
void
setExtractResWFiles(boolean ExtractResWFiles)
void
setJCOInstance(JCObject instance)
void
setMinimalRebuildFromTracking(boolean MinimalRebuildFromTracking)
void
setNeverLockTypeAssemblies(boolean NeverLockTypeAssemblies)
void
setOutputDirectory(java.lang.String OutputDirectory)
void
setOutputResources(ITaskItem[] OutputResources)
void
setPublicClass(boolean PublicClass)
void
setReferences(ITaskItem[] References)
void
setSdkToolsPath(java.lang.String SdkToolsPath)
void
setSources(ITaskItem[] Sources)
void
setStateFile(ITaskItem StateFile)
void
setStronglyTypedClassName(java.lang.String StronglyTypedClassName)
void
setStronglyTypedFileName(java.lang.String StronglyTypedFileName)
void
setStronglyTypedLanguage(java.lang.String StronglyTypedLanguage)
void
setStronglyTypedManifestPrefix(java.lang.String StronglyTypedManifestPrefix)
void
setStronglyTypedNamespace(java.lang.String StronglyTypedNamespace)
void
setToolArchitecture(java.lang.String ToolArchitecture)
void
setTrackerFrameworkPath(java.lang.String TrackerFrameworkPath)
void
setTrackerLogDirectory(java.lang.String TrackerLogDirectory)
void
setTrackerSdkPath(java.lang.String TrackerSdkPath)
void
setTrackFileAccess(boolean TrackFileAccess)
void
setUseSourcePath(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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
GenerateResource
public GenerateResource() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
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 GenerateResource cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoGenerateResource
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
GenerateResource
instance- 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:
Execute
in classTask
- 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
-
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.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
-
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
-
-