Package ch.raffael.meldioc.model.config
Class MountConfig<S>
java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.MountConfig<S>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> MountConfig.Builder<S>builder()abstract booleaninjected()static MountConfig<ch.raffael.meldioc.Feature.Mount>of(ch.raffael.meldioc.Feature.Mount annotation) final ModelAnnotationTypetype()valueMap()withInjected(boolean value) Copy the current immutable object by setting a value for theinjectedattribute.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
-
Field Details
-
TYPE
-
INJECTED
- See Also:
-
-
Method Details
-
builder
-
of
public static MountConfig<ch.raffael.meldioc.Feature.Mount> of(ch.raffael.meldioc.Feature.Mount annotation) -
injected
public abstract boolean injected() -
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
-
withInjected
Copy the current immutable object by setting a value for theinjectedattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for injected- Returns:
- A modified copy of the
thisobject
-