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.String
assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Managementstatic java.lang.String
className
Qualified class name: System.Management.ManagementPathstatic JCType
classType
The 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 ManagementPath
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoManagementPath
, a cast assert is made to check if types are compatible.ManagementPath
Clone()
java.lang.String
getClassName()
static ManagementPath
getDefaultPath()
boolean
getIsClass()
boolean
getIsInstance()
boolean
getIsSingleton()
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 Typejava.lang.String
getNamespacePath()
java.lang.String
getPath()
java.lang.String
getRelativePath()
java.lang.String
getServer()
void
SetAsClass()
void
SetAsSingleton()
void
setClassName(java.lang.String ClassName)
static void
setDefaultPath(ManagementPath DefaultPath)
void
setJCOInstance(JCObject instance)
void
setNamespacePath(java.lang.String NamespacePath)
void
setPath(java.lang.String Path)
void
setRelativePath(java.lang.String RelativePath)
void
setServer(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.Throwable
Internal 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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
MissingManifestResourceException
NotImplementedException
ManagementException
CultureNotFoundException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
NullReferenceException
MissingManifestResourceException
NotImplementedException
ManagementException
-
-
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 ManagementPath cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoManagementPath
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ManagementPath
instance- 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.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ManagementException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
MissingManifestResourceException
NotImplementedException
-
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.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ArgumentOutOfRangeException
ObjectDisposedException
NotSupportedException
OverflowException
ManagementException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NullReferenceException
MissingManifestResourceException
NotImplementedException
-
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.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ArgumentOutOfRangeException
ObjectDisposedException
NotSupportedException
OverflowException
ManagementException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NullReferenceException
MissingManifestResourceException
NotImplementedException
-
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.Throwable
ArgumentException
ArgumentNullException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
NullReferenceException
MissingManifestResourceException
NotImplementedException
ManagementException
-
getNamespacePath
public java.lang.String getNamespacePath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, ManagementException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
ManagementException
-
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.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ObjectDisposedException
OverflowException
ManagementException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
MissingManifestResourceException
NotImplementedException
-
getPath
public java.lang.String getPath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, ManagementException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
ManagementException
-
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.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
ManagementException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
NullReferenceException
MissingManifestResourceException
NotImplementedException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
ManagementException
CultureNotFoundException
-
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.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ArgumentOutOfRangeException
ObjectDisposedException
NotSupportedException
OverflowException
ManagementException
FormatException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
AbandonedMutexException
InvalidOperationException
NullReferenceException
MissingManifestResourceException
NotImplementedException
-
-