org.tap4j.plugin.model
Class TapAttachment

java.lang.Object
  extended by org.tap4j.plugin.model.TapAttachment

public class TapAttachment
extends java.lang.Object

Since:
0.1
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br

Constructor Summary
TapAttachment(byte[] content, java.util.Map<java.lang.String,java.lang.Object> diagnostics)
           
TapAttachment(java.lang.String fileName, byte[] content, int size, java.lang.String fileType)
           
 
Method Summary
 byte[] getContent()
           
 java.lang.String getFileName()
           
 java.lang.String getFileType()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TapAttachment

public TapAttachment(java.lang.String fileName,
                     byte[] content,
                     int size,
                     java.lang.String fileType)
Parameters:
fileName -
content -
size -
fileType -

TapAttachment

public TapAttachment(byte[] content,
                     java.util.Map<java.lang.String,java.lang.Object> diagnostics)
Parameters:
fileName -
content -
size -
fileType -
Method Detail

getFileName

public java.lang.String getFileName()
Returns:
the fileName

getContent

public byte[] getContent()
Returns:
the content

getSize

public int getSize()
Returns:
the size

getFileType

public java.lang.String getFileType()
Returns:
the fileType


Copyright © 2011-2013 Jenkins. All Rights Reserved.