public class ToolTask extends Task
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Utilities.ToolTask
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.Build.Utilities.v4.0
|
static java.lang.String |
className
Qualified class name: Microsoft.Build.Utilities.ToolTask
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolTask() |
ToolTask(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cancel() |
static ToolTask |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolTask, a cast assert is made to check if types are compatible. |
boolean |
Execute() |
boolean |
getEchoOff() |
java.lang.String[] |
getEnvironmentVariables() |
int |
getExitCode() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getLogStandardErrorAsError() |
java.lang.String |
getStandardErrorImportance() |
java.lang.String |
getStandardOutputImportance() |
int |
getTimeout() |
java.lang.String |
getToolExe() |
java.lang.String |
getToolPath() |
boolean |
getUseCommandProcessor() |
boolean |
getYieldDuringToolExecution() |
void |
setEchoOff(boolean EchoOff) |
void |
setEnvironmentVariables(java.lang.String[] EnvironmentVariables) |
void |
setJCOInstance(JCObject instance) |
void |
setLogStandardErrorAsError(boolean LogStandardErrorAsError) |
void |
setStandardErrorImportance(java.lang.String StandardErrorImportance) |
void |
setStandardOutputImportance(java.lang.String StandardOutputImportance) |
void |
setTimeout(int Timeout) |
void |
setToolExe(java.lang.String ToolExe) |
void |
setToolPath(java.lang.String ToolPath) |
void |
setUseCommandProcessor(boolean UseCommandProcessor) |
void |
setYieldDuringToolExecution(boolean YieldDuringToolExecution) |
getBuildEngine, getBuildEngine2, getBuildEngine3, getBuildEngine4, getHostObject, getLog, setBuildEngine, setHostObjectpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ToolTask()
throws java.lang.Throwable
java.lang.Throwablepublic ToolTask(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Cancel()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotSupportedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
ArgumentOutOfRangeException,
OutOfMemoryException,
OperationCanceledException
public static ToolTask cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolTask, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolTask instancejava.lang.Throwable - in case of error during cast operationpublic boolean Execute()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
FormatException,
IndexOutOfRangeException,
MissingManifestResourceException,
InvalidCastException,
NotSupportedException,
NullReferenceException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
ObjectDisposedException,
AbandonedMutexException,
WaitHandleCannotBeOpenedException,
OutOfMemoryException,
PlatformNotSupportedException,
Win32Exception,
MulticastNotSupportedException,
RankException,
CryptographicException,
TaskCanceledException,
AggregateException,
SemaphoreFullException,
TaskSchedulerException
Execute in class Taskjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionInvalidCastExceptionNotSupportedExceptionNullReferenceExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionObjectDisposedExceptionAbandonedMutexExceptionWaitHandleCannotBeOpenedExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionWin32ExceptionMulticastNotSupportedExceptionRankExceptionCryptographicExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionpublic boolean getEchoOff()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String[] getEnvironmentVariables()
throws java.lang.Throwable
java.lang.Throwablepublic int getExitCode()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class TaskString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TaskString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TaskObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TaskString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class TaskJCType representing the CLR Type of the instantiated Classpublic boolean getLogStandardErrorAsError()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getStandardErrorImportance()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getStandardOutputImportance()
throws java.lang.Throwable
java.lang.Throwablepublic int getTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getToolExe()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getToolPath()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUseCommandProcessor()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getYieldDuringToolExecution()
throws java.lang.Throwable
java.lang.Throwablepublic void setEchoOff(boolean EchoOff)
throws java.lang.Throwable
java.lang.Throwablepublic void setEnvironmentVariables(java.lang.String[] EnvironmentVariables)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class Taskpublic void setLogStandardErrorAsError(boolean LogStandardErrorAsError)
throws java.lang.Throwable
java.lang.Throwablepublic void setStandardErrorImportance(java.lang.String StandardErrorImportance)
throws java.lang.Throwable
java.lang.Throwablepublic void setStandardOutputImportance(java.lang.String StandardOutputImportance)
throws java.lang.Throwable
java.lang.Throwablepublic void setTimeout(int Timeout)
throws java.lang.Throwable
java.lang.Throwablepublic void setToolExe(java.lang.String ToolExe)
throws java.lang.Throwable
java.lang.Throwablepublic void setToolPath(java.lang.String ToolPath)
throws java.lang.Throwable
java.lang.Throwablepublic void setUseCommandProcessor(boolean UseCommandProcessor)
throws java.lang.Throwable
java.lang.Throwablepublic void setYieldDuringToolExecution(boolean YieldDuringToolExecution)
throws java.lang.Throwable
java.lang.Throwable