枚举的使用
com.obs.services.model.EventTypeEnum
使用EventTypeEnum的程序包
-
com.obs.services.model中EventTypeEnum的使用
com.obs.services.model 中类型参数类型为 EventTypeEnum 的子类类型参数类型为EventTypeEnum的com.obs.services.model中的字段修饰符和类型方法说明static EventTypeEnumEventTypeEnum.getValueFromCode(String code) static EventTypeEnum返回带有指定名称的该类型的枚举常量。static EventTypeEnum[]EventTypeEnum.values()返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同返回变量类型为EventTypeEnum的类型的com.obs.services.model中的方法修饰符和类型方法说明AbstractNotification.getEventTypes()Obtain the list of event types that need to be notified.类型变量类型为EventTypeEnum的com.obs.services.model中的方法参数修饰符和类型方法说明voidAbstractNotification.setEventTypes(List<EventTypeEnum> events) Set the list of event types that need to be notified.类型变量类型为EventTypeEnum的com.obs.services.model中的构造器参数限定符构造器说明AbstractNotification(String id, AbstractNotification.Filter filter, List<EventTypeEnum> events) ConstructorFunctionGraphConfiguration(String id, AbstractNotification.Filter filter, String functionGraph, List<EventTypeEnum> events) ConstructorTopicConfiguration(String id, AbstractNotification.Filter filter, String topic, List<EventTypeEnum> events) Constructor