Package ome.formats.importer.util
Class ErrorContainer
- java.lang.Object
-
- ome.formats.importer.util.ErrorContainer
-
public class ErrorContainer extends java.lang.Object
Container for errors
-
-
Constructor Summary
Constructors Constructor Description ErrorContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFile(java.lang.String s)
void
clearFiles()
Clear the list of files to upload.java.lang.String
getAbsolutePath()
get path for filejava.lang.String
getAppVersion()
java.lang.String
getComment()
java.lang.String
getCommentType()
java.lang.String
getEmail()
java.lang.Throwable
getError()
java.lang.String
getExtra()
java.lang.String
getFileFormat()
get the file format for importjava.lang.String[]
getFiles()
java.lang.String
getFileType()
int
getIndex()
get the index for this error containerjava.lang.String
getJavaClasspath()
java.lang.String
getJavaVersion()
java.lang.String
getOSArch()
java.lang.String
getOSName()
java.lang.String
getOSVersion()
java.io.File
getSelectedFile()
int
getStatus()
return the error statusjava.lang.String
getToken()
java.lang.String
getUploadUrl()
void
setAbsolutePath(java.lang.String absolute_path)
set path for filevoid
setAppVersion(java.lang.String app_version)
void
setComment(java.lang.String comment)
void
setCommentType(java.lang.String comment_type)
void
setEmail(java.lang.String email)
void
setError(java.lang.Throwable error)
void
setExtra(java.lang.String extra)
void
setFiles(java.lang.String[] files)
void
setFileType(java.lang.String file_type)
void
setIndex(int index)
Set indexvoid
setJavaClasspath(java.lang.String java_classpath)
void
setJavaVersion(java.lang.String java_version)
void
setOSArch(java.lang.String os_arch)
void
setOSName(java.lang.String os_name)
void
setOSVersion(java.lang.String os_version)
void
setReaderType(java.lang.String file_format)
set file format for importvoid
setSelectedFile(java.io.File selected_file)
void
setStatus(int status)
set the status for this errorvoid
setToken(java.lang.String session_id)
void
setUploadUrl(java.lang.String uploadURL)
-
-
-
Method Detail
-
addFile
public void addFile(java.lang.String s)
- Parameters:
s
- - file to add to container
-
getFiles
public java.lang.String[] getFiles()
- Returns:
- Returns the files in this container.
-
setFiles
public void setFiles(java.lang.String[] files)
- Parameters:
files
- - files to set.
-
clearFiles
public void clearFiles()
Clear the list of files to upload.
-
getJavaVersion
public java.lang.String getJavaVersion()
- Returns:
- Returns the java_version.
-
setJavaVersion
public void setJavaVersion(java.lang.String java_version)
- Parameters:
java_version
- The java_version to set.
-
getJavaClasspath
public java.lang.String getJavaClasspath()
- Returns:
- Returns the java_classpath.
-
setJavaClasspath
public void setJavaClasspath(java.lang.String java_classpath)
- Parameters:
java_classpath
- The java_classpath to set.
-
getOSName
public java.lang.String getOSName()
- Returns:
- Returns the os_name.
-
setOSName
public void setOSName(java.lang.String os_name)
- Parameters:
os_name
- The os_name to set.
-
getOSArch
public java.lang.String getOSArch()
- Returns:
- Returns the os_arch.
-
setOSArch
public void setOSArch(java.lang.String os_arch)
- Parameters:
os_arch
- The os_arch to set.
-
getOSVersion
public java.lang.String getOSVersion()
- Returns:
- Returns the os_version.
-
setOSVersion
public void setOSVersion(java.lang.String os_version)
- Parameters:
os_version
- The os_version to set.
-
getExtra
public java.lang.String getExtra()
- Returns:
- Returns the extra.
-
setExtra
public void setExtra(java.lang.String extra)
- Parameters:
extra
- The extra to set.
-
getError
public java.lang.Throwable getError()
- Returns:
- Returns the error.
-
setError
public void setError(java.lang.Throwable error)
- Parameters:
error
- The error to set.
-
getCommentType
public java.lang.String getCommentType()
- Returns:
- Returns the comment_type.
-
setCommentType
public void setCommentType(java.lang.String comment_type)
- Parameters:
comment_type
- The comment_type to set.
-
getAppVersion
public java.lang.String getAppVersion()
- Returns:
- Returns the app_version.
-
setAppVersion
public void setAppVersion(java.lang.String app_version)
- Parameters:
app_version
- The app_version to set.
-
getComment
public java.lang.String getComment()
- Returns:
- Returns the comment.
-
setComment
public void setComment(java.lang.String comment)
- Parameters:
comment
- The comment to set.
-
getEmail
public java.lang.String getEmail()
- Returns:
- Returns the email.
-
setEmail
public void setEmail(java.lang.String email)
- Parameters:
email
- The email to set.
-
getToken
public java.lang.String getToken()
- Returns:
- Returns the session_id.
-
setToken
public void setToken(java.lang.String session_id)
- Parameters:
session_id
- The session_id to set.
-
getSelectedFile
public java.io.File getSelectedFile()
- Returns:
- Returns the selected_file.
-
setSelectedFile
public void setSelectedFile(java.io.File selected_file)
- Parameters:
selected_file
- The selected_file to set.
-
getFileType
public java.lang.String getFileType()
- Returns:
- Returns the file_type.
-
setFileType
public void setFileType(java.lang.String file_type)
- Parameters:
file_type
- The file_type to set.
-
getUploadUrl
public java.lang.String getUploadUrl()
- Returns:
- Returns the uploadURL.
-
setUploadUrl
public void setUploadUrl(java.lang.String uploadURL)
- Parameters:
uploadURL
- The uploadURL to set.
-
setReaderType
public void setReaderType(java.lang.String file_format)
set file format for import- Parameters:
file_format
- the file format
-
getFileFormat
public java.lang.String getFileFormat()
get the file format for import- Returns:
- the file format
-
setAbsolutePath
public void setAbsolutePath(java.lang.String absolute_path)
set path for file- Parameters:
absolute_path
- the file's absolute path
-
getAbsolutePath
public java.lang.String getAbsolutePath()
get path for file- Returns:
- the file's absolute path
-
getStatus
public int getStatus()
return the error status- Returns:
- the error status
-
setStatus
public void setStatus(int status)
set the status for this error- Parameters:
status
- the error status
-
getIndex
public int getIndex()
get the index for this error container- Returns:
- the error container's index
-
setIndex
public void setIndex(int index)
Set index- Parameters:
index
- the error container's index
-
-