Class GetTaskAttachmentContentCmd

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

    public class GetTaskAttachmentContentCmd
    extends java.lang.Object
    implements Command<java.io.InputStream>, java.io.Serializable
    Author:
    kristin.polenz@camunda.com
    See Also:
    Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      GetTaskAttachmentContentCmd​(java.lang.String taskId, 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
      • taskId

        protected java.lang.String taskId
    • Constructor Detail

      • GetTaskAttachmentContentCmd

        public GetTaskAttachmentContentCmd​(java.lang.String taskId,
                                           java.lang.String attachmentId)
    • Method Detail

      • execute

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