public static enum TemplateBase.CloseType extends Enum<TemplateBase.CloseType>
Enum Constant and Description |
---|
CLOSED_INVALID |
CLOSED_VALID |
OPEN_INVALID |
OPEN_VALID |
Modifier and Type | Method and Description |
---|---|
boolean |
isClosed() |
boolean |
isValid() |
static TemplateBase.CloseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateBase.CloseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateBase.CloseType CLOSED_VALID
public static final TemplateBase.CloseType CLOSED_INVALID
public static final TemplateBase.CloseType OPEN_VALID
public static final TemplateBase.CloseType OPEN_INVALID
public static TemplateBase.CloseType[] values()
for (TemplateBase.CloseType c : TemplateBase.CloseType.values()) System.out.println(c);
public static TemplateBase.CloseType 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 isClosed()
public boolean isValid()
Copyright © 2021 The Apache Software Foundation. All rights reserved.