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.String
assemblyFullName
Fully assembly qualified name: System.Diagnostics.Process, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Diagnostics.Processstatic java.lang.String
className
Qualified class name: System.Diagnostics.ProcessStartInfostatic JCType
classType
The 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 ProcessStartInfo
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoProcessStartInfo
, a cast assert is made to check if types are compatible.java.lang.String
getArguments()
boolean
getCreateNoWindow()
java.lang.String
getDomain()
StringDictionary
getEnvironmentVariables()
boolean
getErrorDialog()
java.lang.String
getFileName()
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 Typeboolean
getLoadUserProfile()
SecureString
getPassword()
java.lang.String
getPasswordInClearText()
boolean
getRedirectStandardError()
boolean
getRedirectStandardInput()
boolean
getRedirectStandardOutput()
Encoding
getStandardErrorEncoding()
Encoding
getStandardInputEncoding()
Encoding
getStandardOutputEncoding()
boolean
getUseCredentialsForNetworkingOnly()
java.lang.String
getUserName()
boolean
getUseShellExecute()
java.lang.String
getVerb()
java.lang.String[]
getVerbs()
ProcessWindowStyle
getWindowStyle()
java.lang.String
getWorkingDirectory()
void
setArguments(java.lang.String Arguments)
void
setCreateNoWindow(boolean CreateNoWindow)
void
setDomain(java.lang.String Domain)
void
setErrorDialog(boolean ErrorDialog)
void
setFileName(java.lang.String FileName)
void
setJCOInstance(JCObject instance)
void
setLoadUserProfile(boolean LoadUserProfile)
void
setPassword(SecureString Password)
void
setPasswordInClearText(java.lang.String PasswordInClearText)
void
setRedirectStandardError(boolean RedirectStandardError)
void
setRedirectStandardInput(boolean RedirectStandardInput)
void
setRedirectStandardOutput(boolean RedirectStandardOutput)
void
setStandardErrorEncoding(Encoding StandardErrorEncoding)
void
setStandardInputEncoding(Encoding StandardInputEncoding)
void
setStandardOutputEncoding(Encoding StandardOutputEncoding)
void
setUseCredentialsForNetworkingOnly(boolean UseCredentialsForNetworkingOnly)
void
setUserName(java.lang.String UserName)
void
setUseShellExecute(boolean UseShellExecute)
void
setVerb(java.lang.String Verb)
void
setWindowStyle(ProcessWindowStyle WindowStyle)
void
setWorkingDirectory(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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- 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 classNetObject
- 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 classNetObject
- 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 classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ProcessStartInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoProcessStartInfo
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ProcessStartInfo
instance- 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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
-
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.Throwable
NotSupportedException
ArgumentException
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentOutOfRangeException
ObjectDisposedException
ArrayTypeMismatchException
OutOfMemoryException
ArgumentNullException
RankException
InvalidCastException
MissingMethodException
TargetInvocationException
SecurityException
IOException
UnauthorizedAccessException
InvalidOperationException
FormatException
CultureNotFoundException
NullReferenceException
ExternalException
-
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
-
-