Package ch.raffael.meldioc.model.config
Class ConfigurationConfig<S>
java.lang.Object
ch.raffael.meldioc.model.config.ElementConfig<S>
ch.raffael.meldioc.model.config.ConfigurationConfig<S>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final ModelAnnotationType -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> ConfigurationConfig.Builder<S>builder()abstract io.vavr.collection.Seq<ClassRef>mount()static ConfigurationConfig<ch.raffael.meldioc.Configuration>of(ch.raffael.meldioc.Configuration annotation) abstract booleanshellClassRef(String packageName, String simpleName) abstract Stringfinal ModelAnnotationTypetype()valueMap()Copy the current immutable object by setting a value for themountattribute.withPackageLocal(boolean value) Copy the current immutable object by setting a value for thepackageLocalattribute.withShellName(String value) Copy the current immutable object by setting a value for theshellNameattribute.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
-
MOUNT
- See Also:
-
SHELL_NAME
- See Also:
-
PACKAGE_LOCAL
- See Also:
-
-
Method Details
-
mount
-
shellName
-
packageLocal
public abstract boolean packageLocal() -
builder
-
of
public static ConfigurationConfig<ch.raffael.meldioc.Configuration> of(ch.raffael.meldioc.Configuration annotation) -
shellClassRef
-
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
-
withMount
Copy the current immutable object by setting a value for themountattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for mount- Returns:
- A modified copy of the
thisobject
-
withShellName
Copy the current immutable object by setting a value for theshellNameattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shellName- Returns:
- A modified copy of the
thisobject
-
withPackageLocal
Copy the current immutable object by setting a value for thepackageLocalattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for packageLocal- Returns:
- A modified copy of the
thisobject
-