public class ErrorContainer extends Object
Constructor and Description |
---|
ErrorContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addFile(String s) |
void |
clearFiles()
Clear the list of files to upload.
|
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) |
public void addFile(String s)
s
- - file to add to containerpublic String[] getFiles()
public void setFiles(String[] files)
files
- - files to set.public void clearFiles()
public String getJavaVersion()
public void setJavaVersion(String java_version)
java_version
- The java_version to set.public String getJavaClasspath()
public void setJavaClasspath(String java_classpath)
java_classpath
- The java_classpath to set.public String getOSName()
public void setOSName(String os_name)
os_name
- The os_name to set.public String getOSArch()
public void setOSArch(String os_arch)
os_arch
- The os_arch to set.public String getOSVersion()
public void setOSVersion(String os_version)
os_version
- The os_version to set.public String getExtra()
public void setExtra(String extra)
extra
- The extra to set.public Throwable getError()
public void setError(Throwable error)
error
- The error to set.public String getCommentType()
public void setCommentType(String comment_type)
comment_type
- The comment_type to set.public String getAppVersion()
public void setAppVersion(String app_version)
app_version
- The app_version to set.public String getComment()
public void setComment(String comment)
comment
- The comment to set.public String getEmail()
public void setEmail(String email)
email
- The email to set.public String getToken()
public void setToken(String session_id)
session_id
- The session_id to set.public File getSelectedFile()
public void setSelectedFile(File selected_file)
selected_file
- The selected_file to set.public String getFileType()
public void setFileType(String file_type)
file_type
- The file_type to set.public String getUploadUrl()
public void setUploadUrl(String uploadURL)
uploadURL
- The uploadURL to set.public void setReaderType(String file_format)
file_format
- the file formatpublic String getFileFormat()
public void setAbsolutePath(String absolute_path)
absolute_path
- the file's absolute pathpublic String getAbsolutePath()
public int getStatus()
public void setStatus(int status)
status
- the error statuspublic int getIndex()
public void setIndex(int index)
index
- the error container's index
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.