org.tap4j.plugin.model
Class TapAttachment

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

public class TapAttachment
extends Object

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

Constructor Summary
TapAttachment(byte[] content, Map<String,Object> diagnostics)
           
TapAttachment(String fileName, byte[] content, int size, String fileType)
           
 
Method Summary
 byte[] getContent()
           
 String getFileName()
           
 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(String fileName,
                     byte[] content,
                     int size,
                     String fileType)
Parameters:
fileName -
content -
size -
fileType -

TapAttachment

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

getFileName

public String getFileName()
Returns:
the fileName

getContent

public byte[] getContent()
Returns:
the content

getSize

public int getSize()
Returns:
the size

getFileType

public String getFileType()
Returns:
the fileType


Copyright © 2011-2013 Jenkins. All Rights Reserved.