Class ArtifactTypeService


  • public class ArtifactTypeService
    extends Object
    • Constructor Detail

      • ArtifactTypeService

        public ArtifactTypeService()
    • Method Detail

      • getArtifactTypeUsageMapping

        public Response getArtifactTypeUsageMapping​(String containerId,
                                                    String templateId)
        Gets the Artifact Type Usage Mapping for a containerId.
        Parameters:
        containerId - the container to get the Artifact Type Usage Mapping from.
        templateId - the template ID.
        Returns:
        the corresponding Artifact Type Usage Mapping.
      • getArtifactTypes

        public Response getArtifactTypes​(String containerId)
        Gets the Artifact Types available for a containerId.
        Parameters:
        containerId - the container to get the Artifact Types from.
        Returns:
        the corresponding Artifact Type list.
      • saveArtifactTypeUsageMapping

        public Response saveArtifactTypeUsageMapping​(String containerId)
        Updates the Artifact Type Usage Mapping for a containerId.
        Parameters:
        containerId - the containerId to update
        Returns:
        the Artifact Type Usage Mapping with the Feedback detected by the Artifact Type Usage Mapping Validator
      • validateArtifactTypeUsageMappings

        protected void validateArtifactTypeUsageMappings​(ArtifactTypeUsageMappings artifactTypeUsageMappings)