Package org.openmetadata.service.jdbi3
Enum EntityRepository.Operation
- java.lang.Object
-
- java.lang.Enum<EntityRepository.Operation>
-
- org.openmetadata.service.jdbi3.EntityRepository.Operation
-
- All Implemented Interfaces:
Serializable,Comparable<EntityRepository.Operation>
- Enclosing class:
- EntityRepository<T extends EntityInterface>
public static enum EntityRepository.Operation extends Enum<EntityRepository.Operation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PATCHPUTSOFT_DELETE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDelete()booleanisPatch()booleanisPut()static EntityRepository.OperationvalueOf(String name)Returns the enum constant of this type with the specified name.static EntityRepository.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUT
public static final EntityRepository.Operation PUT
-
PATCH
public static final EntityRepository.Operation PATCH
-
SOFT_DELETE
public static final EntityRepository.Operation SOFT_DELETE
-
-
Method Detail
-
values
public static EntityRepository.Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityRepository.Operation c : EntityRepository.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityRepository.Operation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isPatch
public boolean isPatch()
-
isPut
public boolean isPut()
-
isDelete
public boolean isDelete()
-
-