Class GetAttachmentContentCmd

  • All Implemented Interfaces:
    java.io.Serializable, Command<java.io.InputStream>

    public class GetAttachmentContentCmd
    extends java.lang.Object
    implements Command<java.io.InputStream>, java.io.Serializable
    Author:
    Tom Baeyens
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String attachmentId  
    • Constructor Summary

      Constructors 
      Constructor Description
      GetAttachmentContentCmd​(java.lang.String attachmentId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream execute​(CommandContext commandContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command

        isRetryable
    • Field Detail

      • attachmentId

        protected java.lang.String attachmentId
    • Constructor Detail

      • GetAttachmentContentCmd

        public GetAttachmentContentCmd​(java.lang.String attachmentId)
    • Method Detail

      • execute

        public java.io.InputStream execute​(CommandContext commandContext)
        Specified by:
        execute in interface Command<java.io.InputStream>