|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.fostore.DumpOption
Diagnostic code to identify a dump request to the store. Currently, there are the following options supported:
Field Summary | |
(package private) static DumpOption |
CLASS_INSTANCES
List all instances of a particular class. |
(package private) static DumpOption |
CLASS_METADATA
Provide metadata information about a particular class. |
(package private) static DumpOption |
CLASS_SUBCLASSES
List all subclasses of a particular class. |
(package private) static DumpOption |
DBINFO
Provide information about all classes in the store. |
private static I18NHelper |
msg
I18N support. |
private java.lang.String |
name
String name of this option. |
private static java.util.HashMap |
options
Map from name to DumpOption. |
private int |
value
Value of this DumpOption. |
Constructor Summary | |
private |
DumpOption(int value,
java.lang.String name)
Create a DumpOption with the given value and name. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
(package private) static DumpOption |
forName(java.lang.String name)
Provide a DumpOption given a name. |
int |
hashCode()
|
(package private) static DumpOption |
read(java.io.DataInput in)
Return the instance of a DumpOption that corresponds to the value read from the DataInput. |
java.lang.String |
toString()
|
(package private) void |
write(java.io.DataOutput out)
Write this DumpOption's value. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private final int value
private final java.lang.String name
private static final java.util.HashMap options
static final DumpOption DBINFO
static final DumpOption CLASS_METADATA
static final DumpOption CLASS_INSTANCES
static final DumpOption CLASS_SUBCLASSES
private static final I18NHelper msg
Constructor Detail |
private DumpOption(int value, java.lang.String name)
Method Detail |
static DumpOption forName(java.lang.String name)
void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
static DumpOption read(java.io.DataInput in) throws java.io.IOException
java.io.IOException
- if there is an IOException reading the value.
or if the value read does not correspond to a DumpOption.public java.lang.String toString()
public boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |