public class CompilerParameters extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.CodeDom.Compiler.CompilerParameters
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: System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.CodeDom
|
static java.lang.String |
className
Qualified class name: System.CodeDom.Compiler.CompilerParameters
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CompilerParameters()
Initializes a new instance by invoking the .NET constructor.
|
CompilerParameters(java.lang.Object instance)
Internal constructor.
|
CompilerParameters(java.lang.String[] assemblyNames)
Initializes a new instance by invoking the .NET constructor.
|
CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName)
Initializes a new instance by invoking the .NET constructor.
|
CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName,
boolean includeDebugInformation)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CompilerParameters |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CompilerParameters, a cast assert is made to check if types are compatible. |
java.lang.String |
getCompilerOptions()
Gets the value of the .NET property CompilerOptions.
|
java.lang.String |
getCoreAssemblyFileName()
Gets the value of the .NET property CoreAssemblyFileName.
|
StringCollection |
getEmbeddedResources()
Gets the value of the .NET property EmbeddedResources.
|
boolean |
getGenerateExecutable()
Gets the value of the .NET property GenerateExecutable.
|
boolean |
getGenerateInMemory()
Gets the value of the .NET property GenerateInMemory.
|
boolean |
getIncludeDebugInformation()
Gets the value of the .NET property IncludeDebugInformation.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
StringCollection |
getLinkedResources()
Gets the value of the .NET property LinkedResources.
|
java.lang.String |
getMainClass()
Gets the value of the .NET property MainClass.
|
java.lang.String |
getOutputAssembly()
Gets the value of the .NET property OutputAssembly.
|
StringCollection |
getReferencedAssemblies()
Gets the value of the .NET property ReferencedAssemblies.
|
TempFileCollection |
getTempFiles()
Gets the value of the .NET property TempFiles.
|
boolean |
getTreatWarningsAsErrors()
Gets the value of the .NET property TreatWarningsAsErrors.
|
int |
getWarningLevel()
Gets the value of the .NET property WarningLevel.
|
java.lang.String |
getWin32Resource()
Gets the value of the .NET property Win32Resource.
|
void |
setCompilerOptions(java.lang.String CompilerOptions)
Sets the value of the .NET property CompilerOptions.
|
void |
setCoreAssemblyFileName(java.lang.String CoreAssemblyFileName)
Sets the value of the .NET property CoreAssemblyFileName.
|
void |
setGenerateExecutable(boolean GenerateExecutable)
Sets the value of the .NET property GenerateExecutable.
|
void |
setGenerateInMemory(boolean GenerateInMemory)
Sets the value of the .NET property GenerateInMemory.
|
void |
setIncludeDebugInformation(boolean IncludeDebugInformation)
Sets the value of the .NET property IncludeDebugInformation.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMainClass(java.lang.String MainClass)
Sets the value of the .NET property MainClass.
|
void |
setOutputAssembly(java.lang.String OutputAssembly)
Sets the value of the .NET property OutputAssembly.
|
void |
setTempFiles(TempFileCollection TempFiles)
Sets the value of the .NET property TempFiles.
|
void |
setTreatWarningsAsErrors(boolean TreatWarningsAsErrors)
Sets the value of the .NET property TreatWarningsAsErrors.
|
void |
setWarningLevel(int WarningLevel)
Sets the value of the .NET property WarningLevel.
|
void |
setWin32Resource(java.lang.String Win32Resource)
Sets the value of the .NET property Win32Resource.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CompilerParameters()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic CompilerParameters(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic CompilerParameters(java.lang.String[] assemblyNames)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
assemblyNames - the argument of type java.lang.String[]java.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
assemblyNames - the argument of type java.lang.String[]outputName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName,
boolean includeDebugInformation)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException
assemblyNames - the argument of type java.lang.String[]outputName - the argument of type java.lang.StringincludeDebugInformation - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static CompilerParameters cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CompilerParameters, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCompilerParameters instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getCompilerOptions()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getCoreAssemblyFileName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic StringCollection getEmbeddedResources() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getGenerateExecutable()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getGenerateInMemory()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIncludeDebugInformation()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic StringCollection getLinkedResources() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getMainClass()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getOutputAssembly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic StringCollection getReferencedAssemblies() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TempFileCollection getTempFiles() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean getTreatWarningsAsErrors()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getWarningLevel()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getWin32Resource()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCompilerOptions(java.lang.String CompilerOptions)
throws java.lang.Throwable
CompilerOptions - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCoreAssemblyFileName(java.lang.String CoreAssemblyFileName)
throws java.lang.Throwable
CoreAssemblyFileName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setGenerateExecutable(boolean GenerateExecutable)
throws java.lang.Throwable
GenerateExecutable - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setGenerateInMemory(boolean GenerateInMemory)
throws java.lang.Throwable
GenerateInMemory - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIncludeDebugInformation(boolean IncludeDebugInformation)
throws java.lang.Throwable
IncludeDebugInformation - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setMainClass(java.lang.String MainClass)
throws java.lang.Throwable
MainClass - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setOutputAssembly(java.lang.String OutputAssembly)
throws java.lang.Throwable
OutputAssembly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTempFiles(TempFileCollection TempFiles) throws java.lang.Throwable
TempFiles - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTreatWarningsAsErrors(boolean TreatWarningsAsErrors)
throws java.lang.Throwable
TreatWarningsAsErrors - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWarningLevel(int WarningLevel)
throws java.lang.Throwable
WarningLevel - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWin32Resource(java.lang.String Win32Resource)
throws java.lang.Throwable
Win32Resource - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR