Package com.xebialabs.xlrelease.service
Class UploadService
java.lang.Object
com.xebialabs.xlrelease.service.UploadService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUploadService(AttachmentService attachmentService, com.xebialabs.xlrelease.repository.ReleaseRepository releaseRepository, com.xebialabs.xlrelease.repository.AttachmentRepository attachmentRepository, com.xebialabs.xlrelease.actors.ReleaseActorService releaseActorService, com.xebialabs.xlrelease.repository.TemplateMetadataRepository templateMetadataRepository, com.xebialabs.xlrelease.events.EventBus eventBus) -
Method Summary
Modifier and TypeMethodDescriptioncom.xebialabs.xlrelease.domain.AttachmentaddAttachment(String ciId, String fileName, byte[] fileByteArray) com.xebialabs.xlrelease.domain.AttachmentaddAttachment(String ciId, String fileName, String contentType, InputStream inputStream) com.xebialabs.xlrelease.domain.TemplateLogoaddLogo(String ciId, String filename, String contentType, InputStream content)
-
Field Details
-
NEWLINES
- See Also:
-
-
Constructor Details
-
UploadService
@Autowired public UploadService(AttachmentService attachmentService, com.xebialabs.xlrelease.repository.ReleaseRepository releaseRepository, com.xebialabs.xlrelease.repository.AttachmentRepository attachmentRepository, com.xebialabs.xlrelease.actors.ReleaseActorService releaseActorService, com.xebialabs.xlrelease.repository.TemplateMetadataRepository templateMetadataRepository, com.xebialabs.xlrelease.events.EventBus eventBus)
-
-
Method Details
-
addAttachment
-
addAttachment
public com.xebialabs.xlrelease.domain.Attachment addAttachment(String ciId, String fileName, String contentType, InputStream inputStream) -
addLogo
public com.xebialabs.xlrelease.domain.TemplateLogo addLogo(String ciId, String filename, String contentType, InputStream content) throws IOException - Throws:
IOException
-