Enum Constant and Description |
---|
All |
Freebusy |
Invitation |
Manage |
Read |
Write |
Modifier and Type | Method and Description |
---|---|
boolean |
can(Verb v) |
static Verb |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Verb[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Verb Invitation
public static final Verb Freebusy
public static final Verb Read
public static final Verb Write
public static final Verb Manage
public static final Verb All
public final Verb[] verbs
public static Verb[] values()
for (Verb c : Verb.values()) System.out.println(c);
public static Verb valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean can(Verb v)
Copyright © 2021. All Rights Reserved.