Package ch.raffael.meldioc.model.config
Class DependsOnConfig.Builder<S>
java.lang.Object
ch.raffael.meldioc.model.config.DependsOnConfig.Builder<S>
- Enclosing class:
DependsOnConfig<S>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newDependsOnConfig.final DependsOnConfig.Builder<S>from(DependsOnConfig<S> instance) Fill a builder with attribute values from the providedch.raffael.meldioc.model.config.DependsOnConfiginstance.final DependsOnConfig.Builder<S>from(ElementConfig<S> instance) Fill a builder with attribute values from the providedch.raffael.meldioc.model.config.ElementConfiginstance.final DependsOnConfig.Builder<S>Initializes the value for thesourceattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedch.raffael.meldioc.model.config.ElementConfiginstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
Fill a builder with attribute values from the providedch.raffael.meldioc.model.config.DependsOnConfiginstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
source
Initializes the value for thesourceattribute.- Parameters:
source- The value for source- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newDependsOnConfig.- Returns:
- An immutable instance of DependsOnConfig
- Throws:
ch.raffael.meldioc.util.immutables.IllegalBuilderStateException- if any required attributes are missing
-