ome.formats.importer.util
Class ErrorContainer

java.lang.Object
  extended by ome.formats.importer.util.ErrorContainer

public class ErrorContainer
extends Object

Container for errors

Author:
Brian W. Loranger

Constructor Summary
ErrorContainer()
           
 
Method Summary
 void addFile(String s)
           
 String getAbsolutePath()
          get path for file
 String getAppVersion()
           
 String getComment()
           
 String getCommentType()
           
 String getEmail()
           
 Throwable getError()
           
 String getExtra()
           
 String getFileFormat()
          get the file format for import
 String[] getFiles()
           
 String getFileType()
           
 int getIndex()
          get the index for this error container
 String getJavaClasspath()
           
 String getJavaVersion()
           
 String getOSArch()
           
 String getOSName()
           
 String getOSVersion()
           
 File getSelectedFile()
           
 int getStatus()
          return the error status
 String getToken()
           
 String getUploadUrl()
           
 void setAbsolutePath(String absolute_path)
          set path for file
 void setAppVersion(String app_version)
           
 void setComment(String comment)
           
 void setCommentType(String comment_type)
           
 void setEmail(String email)
           
 void setError(Throwable error)
           
 void setExtra(String extra)
           
 void setFiles(String[] files)
           
 void setFileType(String file_type)
           
 void setIndex(int index)
          Set index
 void setJavaClasspath(String java_classpath)
           
 void setJavaVersion(String java_version)
           
 void setOSArch(String os_arch)
           
 void setOSName(String os_name)
           
 void setOSVersion(String os_version)
           
 void setReaderType(String file_format)
          set file format for import
 void setSelectedFile(File selected_file)
           
 void setStatus(int status)
          set the status for this error
 void setToken(String session_id)
           
 void setUploadUrl(String uploadURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorContainer

public ErrorContainer()
Method Detail

addFile

public void addFile(String s)
Parameters:
s - - file to add to container

getFiles

public String[] getFiles()
Returns:
Returns the files in this container.

setFiles

public void setFiles(String[] files)
Parameters:
files - - files to set.

getJavaVersion

public String getJavaVersion()
Returns:
Returns the java_version.

setJavaVersion

public void setJavaVersion(String java_version)
Parameters:
java_version - The java_version to set.

getJavaClasspath

public String getJavaClasspath()
Returns:
Returns the java_classpath.

setJavaClasspath

public void setJavaClasspath(String java_classpath)
Parameters:
java_classpath - The java_classpath to set.

getOSName

public String getOSName()
Returns:
Returns the os_name.

setOSName

public void setOSName(String os_name)
Parameters:
os_name - The os_name to set.

getOSArch

public String getOSArch()
Returns:
Returns the os_arch.

setOSArch

public void setOSArch(String os_arch)
Parameters:
os_arch - The os_arch to set.

getOSVersion

public String getOSVersion()
Returns:
Returns the os_version.

setOSVersion

public void setOSVersion(String os_version)
Parameters:
os_version - The os_version to set.

getExtra

public String getExtra()
Returns:
Returns the extra.

setExtra

public void setExtra(String extra)
Parameters:
extra - The extra to set.

getError

public Throwable getError()
Returns:
Returns the error.

setError

public void setError(Throwable error)
Parameters:
error - The error to set.

getCommentType

public String getCommentType()
Returns:
Returns the comment_type.

setCommentType

public void setCommentType(String comment_type)
Parameters:
comment_type - The comment_type to set.

getAppVersion

public String getAppVersion()
Returns:
Returns the app_version.

setAppVersion

public void setAppVersion(String app_version)
Parameters:
app_version - The app_version to set.

getComment

public String getComment()
Returns:
Returns the comment.

setComment

public void setComment(String comment)
Parameters:
comment - The comment to set.

getEmail

public String getEmail()
Returns:
Returns the email.

setEmail

public void setEmail(String email)
Parameters:
email - The email to set.

getToken

public String getToken()
Returns:
Returns the session_id.

setToken

public void setToken(String session_id)
Parameters:
session_id - The session_id to set.

getSelectedFile

public File getSelectedFile()
Returns:
Returns the selected_file.

setSelectedFile

public void setSelectedFile(File selected_file)
Parameters:
selected_file - The selected_file to set.

getFileType

public String getFileType()
Returns:
Returns the file_type.

setFileType

public void setFileType(String file_type)
Parameters:
file_type - The file_type to set.

getUploadUrl

public String getUploadUrl()
Returns:
Returns the uploadURL.

setUploadUrl

public void setUploadUrl(String uploadURL)
Parameters:
uploadURL - The uploadURL to set.

setReaderType

public void setReaderType(String file_format)
set file format for import

Parameters:
file_format -

getFileFormat

public String getFileFormat()
get the file format for import

Returns:

setAbsolutePath

public void setAbsolutePath(String absolute_path)
set path for file

Parameters:
absolute_path -

getAbsolutePath

public String getAbsolutePath()
get path for file

Returns:

getStatus

public int getStatus()
return the error status

Returns:

setStatus

public void setStatus(int status)
set the status for this error

Parameters:
status -

getIndex

public int getIndex()
get the index for this error container

Returns:

setIndex

public void setIndex(int index)
Set index

Parameters:
index -


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.