Package omero.grid.monitors
Enum WatchEventType
- java.lang.Object
-
- java.lang.Enum<WatchEventType>
-
- omero.grid.monitors.WatchEventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WatchEventType>
public enum WatchEventType extends java.lang.Enum<WatchEventType> implements java.io.Serializable
Enumeration for event types to watch. Create, notify on file creation only. Modify, notify on file modification only. Delete, notify on file deletion only. All, notify on all vents in the enumeration that apply to a given OS. Not all event types may be implemented for a given operating system.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
Creation
Deletion
Modification
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WatchEventType
__read(IceInternal.BasicStream __is)
void
__write(IceInternal.BasicStream __os)
static void
__write(IceInternal.BasicStream __os, WatchEventType __v)
int
value()
static WatchEventType
valueOf(int __v)
Returns the enum constant of this type with the specified name.static WatchEventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WatchEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Creation
public static final WatchEventType Creation
-
Modification
public static final WatchEventType Modification
-
Deletion
public static final WatchEventType Deletion
-
All
public static final WatchEventType All
-
-
Method Detail
-
values
public static WatchEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WatchEventType c : WatchEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WatchEventType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
valueOf
public static WatchEventType valueOf(int __v)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
__v
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
__write
public void __write(IceInternal.BasicStream __os)
-
__write
public static void __write(IceInternal.BasicStream __os, WatchEventType __v)
-
__read
public static WatchEventType __read(IceInternal.BasicStream __is)
-
-