public static enum ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable extends Enum<ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable> implements ByteBuddyAgent.AttachmentProvider.Accessor
ByteBuddyAgent.AttachmentProvider.Accessor.Simple, ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
VIRTUAL_MACHINE_TYPE_NAME
Modifier and Type | Method and Description |
---|---|
String |
getProcessId()
Returns the current JVM instance's process id.
|
Class<?> |
getVirtualMachineType()
Returns the
com.sun.tools.attach.VirtualMachine class. |
boolean |
isAvailable()
Determines if this accessor is applicable for the currently running JVM.
|
String |
toString() |
static ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable INSTANCE
public static ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable[] values()
for (ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable c : ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable.values()) System.out.println(c);
public static ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isAvailable()
ByteBuddyAgent.AttachmentProvider.Accessor
isAvailable
in interface ByteBuddyAgent.AttachmentProvider.Accessor
true
if this accessor is available.public Class<?> getVirtualMachineType()
ByteBuddyAgent.AttachmentProvider.Accessor
com.sun.tools.attach.VirtualMachine
class. This method must only be called
for available accessors.getVirtualMachineType
in interface ByteBuddyAgent.AttachmentProvider.Accessor
public String getProcessId()
ByteBuddyAgent.AttachmentProvider.Accessor
getProcessId
in interface ByteBuddyAgent.AttachmentProvider.Accessor
public String toString()
toString
in class Enum<ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable>
Copyright © 2014–2015. All rights reserved.