Package ch.raffael.meldioc.model.config
Class DependsOnConfig<S>
java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.DependsOnConfig<S>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> DependsOnConfig.Builder<S>builder()static DependsOnConfig<ch.raffael.meldioc.Feature.DependsOn>of(ch.raffael.meldioc.Feature.DependsOn annotation) final ModelAnnotationTypetype()valueMap()withSource(S value) Copy the current immutable object by setting a value for thesourceattribute.Methods inherited from class ch.raffael.meldioc.model.config.ElementConfig
displayName, isConfigType, of, source, valueMapWithoutDefaults
-
Method Details
-
builder
-
of
public static DependsOnConfig<ch.raffael.meldioc.Feature.DependsOn> of(ch.raffael.meldioc.Feature.DependsOn annotation) -
type
- Specified by:
typein classElementConfig<S>
-
valueMap
- Specified by:
valueMapin classElementConfig<S>
-
withSource
Copy the current immutable object by setting a value for thesourceattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for source- Returns:
- A modified copy of the
thisobject
-