Package system.diagnostics
Class ProcessStartInfo
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.diagnostics.ProcessStartInfo
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ProcessStartInfo extends NetObject
The base .NET class managing System.Diagnostics.ProcessStartInfo, System.Diagnostics.Process, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.ProcessStartInfo
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: System.Diagnostics.Process, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Diagnostics.Processstatic java.lang.StringclassNameQualified class name: System.Diagnostics.ProcessStartInfostatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ProcessStartInfo()ProcessStartInfo(java.lang.Object instance)Internal constructor.ProcessStartInfo(java.lang.String fileName)ProcessStartInfo(java.lang.String fileName, java.lang.String arguments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessStartInfocast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoProcessStartInfo, a cast assert is made to check if types are compatible.java.lang.StringgetArguments()booleangetCreateNoWindow()java.lang.StringgetDomain()StringDictionarygetEnvironmentVariables()booleangetErrorDialog()java.lang.StringgetFileName()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 TypebooleangetLoadUserProfile()SecureStringgetPassword()java.lang.StringgetPasswordInClearText()booleangetRedirectStandardError()booleangetRedirectStandardInput()booleangetRedirectStandardOutput()EncodinggetStandardErrorEncoding()EncodinggetStandardInputEncoding()EncodinggetStandardOutputEncoding()booleangetUseCredentialsForNetworkingOnly()java.lang.StringgetUserName()booleangetUseShellExecute()java.lang.StringgetVerb()java.lang.String[]getVerbs()ProcessWindowStylegetWindowStyle()java.lang.StringgetWorkingDirectory()voidsetArguments(java.lang.String Arguments)voidsetCreateNoWindow(boolean CreateNoWindow)voidsetDomain(java.lang.String Domain)voidsetErrorDialog(boolean ErrorDialog)voidsetFileName(java.lang.String FileName)voidsetJCOInstance(JCObject instance)voidsetLoadUserProfile(boolean LoadUserProfile)voidsetPassword(SecureString Password)voidsetPasswordInClearText(java.lang.String PasswordInClearText)voidsetRedirectStandardError(boolean RedirectStandardError)voidsetRedirectStandardInput(boolean RedirectStandardInput)voidsetRedirectStandardOutput(boolean RedirectStandardOutput)voidsetStandardErrorEncoding(Encoding StandardErrorEncoding)voidsetStandardInputEncoding(Encoding StandardInputEncoding)voidsetStandardOutputEncoding(Encoding StandardOutputEncoding)voidsetUseCredentialsForNetworkingOnly(boolean UseCredentialsForNetworkingOnly)voidsetUserName(java.lang.String UserName)voidsetUseShellExecute(boolean UseShellExecute)voidsetVerb(java.lang.String Verb)voidsetWindowStyle(ProcessWindowStyle WindowStyle)voidsetWorkingDirectory(java.lang.String WorkingDirectory)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Diagnostics.Process, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Diagnostics.Process- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Diagnostics.ProcessStartInfo- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProcessStartInfo
public ProcessStartInfo(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ProcessStartInfo
public ProcessStartInfo() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ProcessStartInfo
public ProcessStartInfo(java.lang.String fileName, java.lang.String arguments) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ProcessStartInfo
public ProcessStartInfo(java.lang.String fileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ProcessStartInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoProcessStartInfo, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ProcessStartInfoinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getCreateNoWindow
public boolean getCreateNoWindow() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCreateNoWindow
public void setCreateNoWindow(boolean CreateNoWindow) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getErrorDialog
public boolean getErrorDialog() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setErrorDialog
public void setErrorDialog(boolean ErrorDialog) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLoadUserProfile
public boolean getLoadUserProfile() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setLoadUserProfile
public void setLoadUserProfile(boolean LoadUserProfile) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRedirectStandardError
public boolean getRedirectStandardError() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRedirectStandardError
public void setRedirectStandardError(boolean RedirectStandardError) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRedirectStandardInput
public boolean getRedirectStandardInput() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRedirectStandardInput
public void setRedirectStandardInput(boolean RedirectStandardInput) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRedirectStandardOutput
public boolean getRedirectStandardOutput() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRedirectStandardOutput
public void setRedirectStandardOutput(boolean RedirectStandardOutput) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUseCredentialsForNetworkingOnly
public boolean getUseCredentialsForNetworkingOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseCredentialsForNetworkingOnly
public void setUseCredentialsForNetworkingOnly(boolean UseCredentialsForNetworkingOnly) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUseShellExecute
public boolean getUseShellExecute() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseShellExecute
public void setUseShellExecute(boolean UseShellExecute) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getEnvironmentVariables
public StringDictionary getEnvironmentVariables() throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, ArgumentNullException, RankException, ArrayTypeMismatchException
-
getWindowStyle
public ProcessWindowStyle getWindowStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setWindowStyle
public void setWindowStyle(ProcessWindowStyle WindowStyle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentException
-
getPassword
public SecureString getPassword() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPassword
public void setPassword(SecureString Password) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getArguments
public java.lang.String getArguments() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setArguments
public void setArguments(java.lang.String Arguments) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDomain
public java.lang.String getDomain() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDomain
public void setDomain(java.lang.String Domain) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFileName
public java.lang.String getFileName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFileName
public void setFileName(java.lang.String FileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPasswordInClearText
public java.lang.String getPasswordInClearText() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPasswordInClearText
public void setPasswordInClearText(java.lang.String PasswordInClearText) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUserName
public java.lang.String getUserName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUserName
public void setUserName(java.lang.String UserName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getVerb
public java.lang.String getVerb() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setVerb
public void setVerb(java.lang.String Verb) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
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
-
getVerbs
public java.lang.String[] getVerbs() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, OutOfMemoryException, ArgumentNullException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, SecurityException, IOException, UnauthorizedAccessException, InvalidOperationException, FormatException, CultureNotFoundException, NullReferenceException, ExternalException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionArgumentNullExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionInvalidOperationExceptionFormatExceptionCultureNotFoundExceptionNullReferenceExceptionExternalException
-
getStandardErrorEncoding
public Encoding getStandardErrorEncoding() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStandardErrorEncoding
public void setStandardErrorEncoding(Encoding StandardErrorEncoding) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStandardInputEncoding
public Encoding getStandardInputEncoding() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStandardInputEncoding
public void setStandardInputEncoding(Encoding StandardInputEncoding) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStandardOutputEncoding
public Encoding getStandardOutputEncoding() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStandardOutputEncoding
public void setStandardOutputEncoding(Encoding StandardOutputEncoding) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-