Package microsoft.build.tasks
Class Exec
- java.lang.Object
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Exec extends ToolTaskExtension
The base .NET class managing Microsoft.Build.Tasks.Exec, 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.Exec
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.Execstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Execcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoExec, a cast assert is made to check if types are compatible.java.lang.StringgetCommand()ITaskItem[]getConsoleOutput()booleangetConsoleToMSBuild()java.lang.StringgetCustomErrorRegularExpression()java.lang.StringgetCustomWarningRegularExpression()booleangetIgnoreExitCode()booleangetIgnoreStandardErrorWarningFormat()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 TypeITaskItem[]getOutputs()java.lang.StringgetStdErrEncoding()java.lang.StringgetStdOutEncoding()java.lang.StringgetWorkingDirectory()voidsetCommand(java.lang.String Command)voidsetConsoleOutput(ITaskItem[] ConsoleOutput)voidsetConsoleToMSBuild(boolean ConsoleToMSBuild)voidsetCustomErrorRegularExpression(java.lang.String CustomErrorRegularExpression)voidsetCustomWarningRegularExpression(java.lang.String CustomWarningRegularExpression)voidsetIgnoreExitCode(boolean IgnoreExitCode)voidsetIgnoreStandardErrorWarningFormat(boolean IgnoreStandardErrorWarningFormat)voidsetJCOInstance(JCObject instance)voidsetOutputs(ITaskItem[] Outputs)voidsetStdErrEncoding(java.lang.String StdErrEncoding)voidsetStdOutEncoding(java.lang.String StdOutEncoding)voidsetWorkingDirectory(java.lang.String WorkingDirectory)-
Methods inherited from class microsoft.build.tasks.ToolTaskExtension
getLog
-
Methods inherited from class microsoft.build.utilities.ToolTask
Cancel, Execute, getEchoOff, getEnvironmentVariables, getExitCode, getLogStandardErrorAsError, getStandardErrorImportance, getStandardOutputImportance, getTimeout, getToolExe, getToolPath, getUseCommandProcessor, getYieldDuringToolExecution, setEchoOff, setEnvironmentVariables, setLogStandardErrorAsError, setStandardErrorImportance, setStandardOutputImportance, setTimeout, setToolExe, setToolPath, setUseCommandProcessor, setYieldDuringToolExecution
-
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.Exec- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Exec
public Exec(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Exec
public Exec() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classToolTaskExtension- 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 classToolTaskExtension- 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 classToolTaskExtension- 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 classToolTaskExtension- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classToolTaskExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classToolTaskExtension- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Exec cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoExec, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Execinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getConsoleToMSBuild
public boolean getConsoleToMSBuild() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setConsoleToMSBuild
public void setConsoleToMSBuild(boolean ConsoleToMSBuild) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIgnoreExitCode
public boolean getIgnoreExitCode() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIgnoreExitCode
public void setIgnoreExitCode(boolean IgnoreExitCode) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIgnoreStandardErrorWarningFormat
public boolean getIgnoreStandardErrorWarningFormat() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIgnoreStandardErrorWarningFormat
public void setIgnoreStandardErrorWarningFormat(boolean IgnoreStandardErrorWarningFormat) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getConsoleOutput
public final ITaskItem[] getConsoleOutput() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConsoleOutput
public void setConsoleOutput(ITaskItem[] ConsoleOutput) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOutputs
public final ITaskItem[] getOutputs() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOutputs
public void setOutputs(ITaskItem[] Outputs) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCommand
public java.lang.String getCommand() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCommand
public void setCommand(java.lang.String Command) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCustomErrorRegularExpression
public java.lang.String getCustomErrorRegularExpression() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCustomErrorRegularExpression
public void setCustomErrorRegularExpression(java.lang.String CustomErrorRegularExpression) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCustomWarningRegularExpression
public java.lang.String getCustomWarningRegularExpression() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCustomWarningRegularExpression
public void setCustomWarningRegularExpression(java.lang.String CustomWarningRegularExpression) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStdErrEncoding
public java.lang.String getStdErrEncoding() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, IndexOutOfRangeException
-
setStdErrEncoding
public void setStdErrEncoding(java.lang.String StdErrEncoding) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceException
-
getStdOutEncoding
public java.lang.String getStdOutEncoding() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, IndexOutOfRangeException
-
setStdOutEncoding
public void setStdOutEncoding(java.lang.String StdOutEncoding) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceException
-
getWorkingDirectory
public java.lang.String getWorkingDirectory() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setWorkingDirectory
public void setWorkingDirectory(java.lang.String WorkingDirectory) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-