Package microsoft.build.tasks
Class AspNetCompiler
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.Task
-
- microsoft.build.utilities.ToolTask
-
- microsoft.build.tasks.ToolTaskExtension
-
- microsoft.build.tasks.AspNetCompiler
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class AspNetCompiler extends ToolTaskExtension
The base .NET class managing Microsoft.Build.Tasks.AspNetCompiler, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.AspNetCompiler
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0static String
className
Qualified class name: Microsoft.Build.Tasks.AspNetCompilerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description AspNetCompiler()
AspNetCompiler(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AspNetCompiler
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoAspNetCompiler
, a cast assert is made to check if types are compatible.boolean
Execute()
boolean
getAllowPartiallyTrustedCallers()
boolean
getClean()
boolean
getDebug()
boolean
getDelaySign()
boolean
getFixedNames()
boolean
getForce()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeString
getKeyContainer()
String
getKeyFile()
String
getMetabasePath()
String
getPhysicalPath()
String
getTargetFrameworkMoniker()
String
getTargetPath()
boolean
getUpdateable()
String
getVirtualPath()
void
setAllowPartiallyTrustedCallers(boolean AllowPartiallyTrustedCallers)
void
setClean(boolean Clean)
void
setDebug(boolean Debug)
void
setDelaySign(boolean DelaySign)
void
setFixedNames(boolean FixedNames)
void
setForce(boolean Force)
void
setJCOInstance(JCObject instance)
void
setKeyContainer(String KeyContainer)
void
setKeyFile(String KeyFile)
void
setMetabasePath(String MetabasePath)
void
setPhysicalPath(String PhysicalPath)
void
setTargetFrameworkMoniker(String TargetFrameworkMoniker)
void
setTargetPath(String TargetPath)
void
setUpdateable(boolean Updateable)
void
setVirtualPath(String VirtualPath)
-
Methods inherited from class microsoft.build.tasks.ToolTaskExtension
getLog
-
Methods inherited from class microsoft.build.utilities.ToolTask
Cancel, 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
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: Microsoft.Build.Tasks.AspNetCompiler- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AspNetCompiler
public AspNetCompiler(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
AspNetCompiler
public AspNetCompiler() throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 AspNetCompiler cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoAspNetCompiler
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
AspNetCompiler
instance- Throws:
Throwable
- in case of error during cast operation
-
Execute
public boolean Execute() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, FormatException, ArgumentException, InvalidOperationException, InvalidCastException, CultureNotFoundException, NotSupportedException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, WaitHandleCannotBeOpenedException, OutOfMemoryException, PlatformNotSupportedException, Win32Exception, MulticastNotSupportedException, RankException, CryptographicException, KeyNotFoundException, IndexOutOfRangeException, SemaphoreFullException
- Overrides:
Execute
in classToolTask
- Throws:
Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentOutOfRangeException
FormatException
ArgumentException
InvalidOperationException
InvalidCastException
CultureNotFoundException
NotSupportedException
NullReferenceException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
WaitHandleCannotBeOpenedException
OutOfMemoryException
PlatformNotSupportedException
Win32Exception
MulticastNotSupportedException
RankException
CryptographicException
KeyNotFoundException
IndexOutOfRangeException
SemaphoreFullException
-
getAllowPartiallyTrustedCallers
public boolean getAllowPartiallyTrustedCallers() throws Throwable
- Throws:
Throwable
-
setAllowPartiallyTrustedCallers
public void setAllowPartiallyTrustedCallers(boolean AllowPartiallyTrustedCallers) throws Throwable
- Throws:
Throwable
-
getKeyContainer
public String getKeyContainer() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
-
setKeyContainer
public void setKeyContainer(String KeyContainer) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getKeyFile
public String getKeyFile() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
-
setKeyFile
public void setKeyFile(String KeyFile) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getMetabasePath
public String getMetabasePath() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
-
setMetabasePath
public void setMetabasePath(String MetabasePath) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getPhysicalPath
public String getPhysicalPath() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
-
setPhysicalPath
public void setPhysicalPath(String PhysicalPath) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getTargetFrameworkMoniker
public String getTargetFrameworkMoniker() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
-
setTargetFrameworkMoniker
public void setTargetFrameworkMoniker(String TargetFrameworkMoniker) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getTargetPath
public String getTargetPath() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
-
setTargetPath
public void setTargetPath(String TargetPath) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getVirtualPath
public String getVirtualPath() throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
-
setVirtualPath
public void setVirtualPath(String VirtualPath) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
-