public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
EXTERNAL
Properties were added afterwards
|
INLINE
Properties are extracted from the page each time it is viewed
|
Modifier and Type | Method and Description |
---|---|
static PropertyType |
from(String name)
Same as valueOf, but supports null parameter, and does not throw exception when name is not known
|
static boolean |
isExternal(String name)
Returns true if the name is EXTERNAL (case sensitive)
|
static boolean |
isInline(String name)
Returns true if the name is INLINE (case sensitive)
|
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType INLINE
public static final PropertyType EXTERNAL
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 static PropertyType from(String name)
public static boolean isInline(String name)
public static boolean isExternal(String name)
Copyright © 2022 Requirement Yogi. All rights reserved.