Class GetProcessApplicationNameFromAnnotation
- java.lang.Object
-
- org.camunda.bpm.spring.boot.starter.util.GetProcessApplicationNameFromAnnotation
-
- All Implemented Interfaces:
java.util.function.Function<java.util.Optional<java.lang.String>,java.util.Optional<java.lang.String>>
,java.util.function.Supplier<java.util.Optional<java.lang.String>>
,java.util.function.UnaryOperator<java.util.Optional<java.lang.String>>
public class GetProcessApplicationNameFromAnnotation extends java.lang.Object implements java.util.function.Supplier<java.util.Optional<java.lang.String>>, java.util.function.UnaryOperator<java.util.Optional<java.lang.String>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetProcessApplicationNameFromAnnotation.AnnotatedBean
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<org.springframework.context.ApplicationContext,java.util.Optional<GetProcessApplicationNameFromAnnotation.AnnotatedBean>>
getAnnotatedBean
Finds all beans with annotation.static java.util.function.Function<EnableProcessApplication,java.util.Optional<java.lang.String>>
getAnnotationValue
static java.util.function.Function<GetProcessApplicationNameFromAnnotation.AnnotatedBean,java.lang.String>
getName
static java.util.function.Function<org.springframework.context.ApplicationContext,java.util.Optional<java.lang.String>>
getProcessApplicationName
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
apply(java.util.Optional<java.lang.String> springApplicationName)
java.util.Optional<java.lang.String>
get()
static GetProcessApplicationNameFromAnnotation
processApplicationNameFromAnnotation(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Field Detail
-
getAnnotatedBean
public static java.util.function.Function<org.springframework.context.ApplicationContext,java.util.Optional<GetProcessApplicationNameFromAnnotation.AnnotatedBean>> getAnnotatedBean
Finds all beans with annotation.
-
getAnnotationValue
public static java.util.function.Function<EnableProcessApplication,java.util.Optional<java.lang.String>> getAnnotationValue
-
getName
public static java.util.function.Function<GetProcessApplicationNameFromAnnotation.AnnotatedBean,java.lang.String> getName
-
getProcessApplicationName
public static java.util.function.Function<org.springframework.context.ApplicationContext,java.util.Optional<java.lang.String>> getProcessApplicationName
-
-
Method Detail
-
processApplicationNameFromAnnotation
public static GetProcessApplicationNameFromAnnotation processApplicationNameFromAnnotation(org.springframework.context.ApplicationContext applicationContext)
-
get
public java.util.Optional<java.lang.String> get()
- Specified by:
get
in interfacejava.util.function.Supplier<java.util.Optional<java.lang.String>>
-
apply
public java.util.Optional<java.lang.String> apply(java.util.Optional<java.lang.String> springApplicationName)
- Specified by:
apply
in interfacejava.util.function.Function<java.util.Optional<java.lang.String>,java.util.Optional<java.lang.String>>
-
-