public enum CommentVisibility extends Enum<CommentVisibility>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPrivate() |
static CommentVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommentVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommentVisibility PUBLIC
public static final CommentVisibility PRIVATE
public static CommentVisibility[] values()
for (CommentVisibility c : CommentVisibility.values()) System.out.println(c);
public static CommentVisibility 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 isPrivate()
Copyright © 2015 JBoss by Red Hat. All rights reserved.