Interface ModificationsBuilderFactory
-
- All Implemented Interfaces:
public interface ModificationsBuilderFactoryFactory to create ModificationsBuilder instances.
-
-
Method Summary
Modifier and Type Method Description abstract ModificationsBuildercreateModificationsBuilder(Mdib mdib)Creates a ModificationsBuilder instance. abstract ModificationsBuildercreateModificationsBuilder(Mdib mdib, Boolean createSingleStateIfMissing)Creates a ModificationsBuilder instance. abstract ModificationsBuildercreateModificationsBuilder(Mdib mdib, Boolean createSingleStateIfMissing, @Nullable() DefaultStateValues defaultStateValues)Creates a ModificationsBuilder instance. -
-
Method Detail
-
createModificationsBuilder
abstract ModificationsBuilder createModificationsBuilder(Mdib mdib)
Creates a ModificationsBuilder instance.
Important note: the MDIB passed to the ModificationsBuilder will be modified. Make sure to pass a copy if necessary.
- Parameters:
mdib- the MDIB used to create the modifications from.- Returns:
a new ModificationsBuilder.
-
createModificationsBuilder
abstract ModificationsBuilder createModificationsBuilder(Mdib mdib, Boolean createSingleStateIfMissing)
Creates a ModificationsBuilder instance.
Important note: the MDIB passed to the ModificationsBuilder will be modified. Make sure to pass a copy if necessary.
- Parameters:
mdib- the MDIB used to create the modifications from.createSingleStateIfMissing- if true then the builder tries to create a missing single state; if false then a runtime exception is thrown is a single state is missing.- Returns:
a new ModificationsBuilder instance.
-
createModificationsBuilder
abstract ModificationsBuilder createModificationsBuilder(Mdib mdib, Boolean createSingleStateIfMissing, @Nullable() DefaultStateValues defaultStateValues)
Creates a ModificationsBuilder instance.
Important note: the MDIB passed to the ModificationsBuilder will be modified. Make sure to pass a copy if necessary.
- Parameters:
mdib- the MDIB used to create the modifications from.createSingleStateIfMissing- if true then the builder tries to create a missing single state; if false then a runtime exception is thrown is a single state is missing.defaultStateValues- defines callbacks for the builder to apply default state values.- Returns:
a new ModificationsBuilder instance.
-
-
-
-