public enum AutomaticWatchMode extends Enum<AutomaticWatchMode>
Enum Constant and Description |
---|
ALL
Watch any modified document.
|
MAJOR
Watch any modified document when it's not a minor edit.
|
NEW
Watch any new document.
|
NONE
Disabled.
|
Modifier and Type | Method and Description |
---|---|
static AutomaticWatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomaticWatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomaticWatchMode NONE
public static final AutomaticWatchMode ALL
public static final AutomaticWatchMode MAJOR
public static final AutomaticWatchMode NEW
public static AutomaticWatchMode[] values()
for (AutomaticWatchMode c : AutomaticWatchMode.values()) System.out.println(c);
public static AutomaticWatchMode 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 nullCopyright © 2004–2022 XWiki. All rights reserved.