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.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.Execstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Exec
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoExec
, a cast assert is made to check if types are compatible.java.lang.String
getCommand()
ITaskItem[]
getConsoleOutput()
boolean
getConsoleToMSBuild()
java.lang.String
getCustomErrorRegularExpression()
java.lang.String
getCustomWarningRegularExpression()
boolean
getIgnoreExitCode()
boolean
getIgnoreStandardErrorWarningFormat()
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 TypeITaskItem[]
getOutputs()
java.lang.String
getStdErrEncoding()
java.lang.String
getStdOutEncoding()
java.lang.String
getWorkingDirectory()
void
setCommand(java.lang.String Command)
void
setConsoleOutput(ITaskItem[] ConsoleOutput)
void
setConsoleToMSBuild(boolean ConsoleToMSBuild)
void
setCustomErrorRegularExpression(java.lang.String CustomErrorRegularExpression)
void
setCustomWarningRegularExpression(java.lang.String CustomWarningRegularExpression)
void
setIgnoreExitCode(boolean IgnoreExitCode)
void
setIgnoreStandardErrorWarningFormat(boolean IgnoreStandardErrorWarningFormat)
void
setJCOInstance(JCObject instance)
void
setOutputs(ITaskItem[] Outputs)
void
setStdErrEncoding(java.lang.String StdErrEncoding)
void
setStdOutEncoding(java.lang.String StdOutEncoding)
void
setWorkingDirectory(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.Throwable
Internal 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.Throwable
ArgumentOutOfRangeException
ArgumentNullException
NotSupportedException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
-
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 classToolTaskExtension
- 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 classToolTaskExtension
- 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 classToolTaskExtension
- 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 classToolTaskExtension
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classToolTaskExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classToolTaskExtension
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Exec cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoExec
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Exec
instance- 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.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
IndexOutOfRangeException
MissingManifestResourceException
-
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.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
NotSupportedException
IndexOutOfRangeException
MissingManifestResourceException
-
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
-
-