All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.automatiko.engine.addons.services.receiveemail.Attachment Maven / Gradle / Ivy

There is a newer version: 0.36.0
Show newest version
package io.automatiko.engine.addons.services.receiveemail;

import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.automatiko.engine.workflow.file.ByteArrayFile;
import io.quarkus.runtime.annotations.RegisterForReflection;

@RegisterForReflection
public class Attachment extends ByteArrayFile {

    public Attachment(String name, byte[] content) {
        super(name, content == null ? new byte[0] : content);
    }

    public Attachment(@JsonProperty("name") String name, @JsonProperty("content") byte[] content,
            @JsonProperty("attributes") Map attributes) {
        super(name, content, attributes);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy