Class ArtifactTypeMappingDialogBuilder
- java.lang.Object
-
- com.sodius.oslc.server.process.types.services.ArtifactTypeMappingDialogBuilder
-
public class ArtifactTypeMappingDialogBuilder extends Object
Convenient builder to create Dialogs based on an Artifact Type Mapping.- Since:
- 3.7.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
build(String container, Service service, HttpServletRequest request, BiConsumer<Dialog,ArtifactTypeMapping> selection, BiConsumer<Dialog,ArtifactTypeMapping> creation)
Creates and adds theDialog
s to a givenService
given theArtifactTypeMapping
configuration of a container.
-
-
-
Method Detail
-
build
public static void build(String container, Service service, HttpServletRequest request, BiConsumer<Dialog,ArtifactTypeMapping> selection, BiConsumer<Dialog,ArtifactTypeMapping> creation) throws ArtifactTypeMappingStoreException
Creates and adds theDialog
s to a givenService
given theArtifactTypeMapping
configuration of a container.- Parameters:
container
- the container id.service
- the given service.request
- the current HTTP request.selection
- consumer to complete the configuration of each applicable selection dialog.creation
- consumer to complete the configuration of each applicable creation dialog.- Throws:
ArtifactTypeMappingStoreException
- if the artifact type mapping configuration cannot be accessed.
-
-