public enum AnyTypeKind extends Enum<AnyTypeKind>
Enum Constant and Description |
---|
ANY_OBJECT |
GROUP |
USER |
Modifier and Type | Method and Description |
---|---|
static AnyTypeKind |
fromTOClass(Class<? extends AnyTO> clazz) |
Class<? extends AnyPatch> |
getPatchClass() |
Class<? extends AnyTO> |
getTOClass() |
static AnyTypeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnyTypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnyTypeKind USER
public static final AnyTypeKind GROUP
public static final AnyTypeKind ANY_OBJECT
public static AnyTypeKind[] values()
for (AnyTypeKind c : AnyTypeKind.values()) System.out.println(c);
public static AnyTypeKind 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 AnyTypeKind fromTOClass(Class<? extends AnyTO> clazz)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.