Package system.management
Class ManagementPath
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.management.ManagementPath
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ManagementPath extends NetObject
The base .NET class managing System.Management.ManagementPath, System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Management.ManagementPath
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.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Managementstatic java.lang.StringclassNameQualified class name: System.Management.ManagementPathstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ManagementPath()ManagementPath(java.lang.Object instance)Internal constructor.ManagementPath(java.lang.String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementPathcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoManagementPath, a cast assert is made to check if types are compatible.ManagementPathClone()java.lang.StringgetClassName()static ManagementPathgetDefaultPath()booleangetIsClass()booleangetIsInstance()booleangetIsSingleton()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 Typejava.lang.StringgetNamespacePath()java.lang.StringgetPath()java.lang.StringgetRelativePath()java.lang.StringgetServer()voidSetAsClass()voidSetAsSingleton()voidsetClassName(java.lang.String ClassName)static voidsetDefaultPath(ManagementPath DefaultPath)voidsetJCOInstance(JCObject instance)voidsetNamespacePath(java.lang.String NamespacePath)voidsetPath(java.lang.String Path)voidsetRelativePath(java.lang.String RelativePath)voidsetServer(java.lang.String Server)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Management- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Management.ManagementPath- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ManagementPath
public ManagementPath(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ManagementPath
public ManagementPath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, MissingManifestResourceException, NotImplementedException, ManagementException, CultureNotFoundException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionMissingManifestResourceExceptionNotImplementedExceptionManagementExceptionCultureNotFoundException
-
ManagementPath
public ManagementPath(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, NullReferenceException, MissingManifestResourceException, NotImplementedException, ManagementException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionNullReferenceExceptionMissingManifestResourceExceptionNotImplementedExceptionManagementException
-
-
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 ManagementPath cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoManagementPath, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ManagementPathinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Clone
public ManagementPath Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ManagementException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, MissingManifestResourceException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionManagementExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionMissingManifestResourceExceptionNotImplementedException
-
SetAsClass
public void SetAsClass() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ObjectDisposedException, NotSupportedException, OverflowException, ManagementException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NullReferenceException, MissingManifestResourceException, NotImplementedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionNotSupportedExceptionOverflowExceptionManagementExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionNullReferenceExceptionMissingManifestResourceExceptionNotImplementedException
-
SetAsSingleton
public void SetAsSingleton() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ObjectDisposedException, NotSupportedException, OverflowException, ManagementException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NullReferenceException, MissingManifestResourceException, NotImplementedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionNotSupportedExceptionOverflowExceptionManagementExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionNullReferenceExceptionMissingManifestResourceExceptionNotImplementedException
-
getIsClass
public boolean getIsClass() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NotSupportedException, FormatException, OverflowException, ManagementException
-
getIsInstance
public boolean getIsInstance() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NotSupportedException, FormatException, OverflowException, ManagementException
-
getIsSingleton
public boolean getIsSingleton() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NotSupportedException, FormatException, OverflowException, ManagementException
-
getDefaultPath
public static ManagementPath getDefaultPath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultPath
public static void setDefaultPath(ManagementPath DefaultPath) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getClassName
public java.lang.String getClassName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setClassName
public void setClassName(java.lang.String ClassName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, NullReferenceException, MissingManifestResourceException, NotImplementedException, ManagementException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionNullReferenceExceptionMissingManifestResourceExceptionNotImplementedExceptionManagementException
-
getNamespacePath
public java.lang.String getNamespacePath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, ManagementException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionManagementException
-
setNamespacePath
public void setNamespacePath(java.lang.String NamespacePath) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ObjectDisposedException, OverflowException, ManagementException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, MissingManifestResourceException, NotImplementedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionObjectDisposedExceptionOverflowExceptionManagementExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionNotImplementedException
-
getPath
public java.lang.String getPath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, ManagementException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionManagementException
-
setPath
public void setPath(java.lang.String Path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, ManagementException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, NullReferenceException, MissingManifestResourceException, NotImplementedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionManagementExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionNullReferenceExceptionMissingManifestResourceExceptionNotImplementedException
-
getRelativePath
public java.lang.String getRelativePath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NotSupportedException, FormatException, OverflowException, ManagementException
-
setRelativePath
public void setRelativePath(java.lang.String RelativePath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ManagementException, CultureNotFoundException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionManagementExceptionCultureNotFoundException
-
getServer
public java.lang.String getServer() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NotSupportedException, FormatException, OverflowException, ManagementException
-
setServer
public void setServer(java.lang.String Server) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, ObjectDisposedException, NotSupportedException, OverflowException, ManagementException, FormatException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, InvalidOperationException, NullReferenceException, MissingManifestResourceException, NotImplementedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionNotSupportedExceptionOverflowExceptionManagementExceptionFormatExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionInvalidOperationExceptionNullReferenceExceptionMissingManifestResourceExceptionNotImplementedException
-
-