public interface JobOutput
download function that you can define.| Modifier and Type | Method and Description |
|---|---|
void |
download(JobClient client,
String jobid)
Downloads an attachment.
|
Object |
getContent()
Returns the content of the attachment as specified in the builder such as a
file, stream or object.
|
String |
getName()
Returns the name of the output source.
|
void |
setName(String name)
Sets the name of the output.
|
String getName()
Object getContent()
void download(JobClient client, String jobid) throws JobNotFoundException, AttachmentNotFoundException, OperationException, IOException
client - The job client.jobid - The job ID.OperationException - if any other remote exception was raised.IOException - if an I-O exception was raised.AttachmentNotFoundException - if the attachment was not declared or not found.JobNotFoundException - if the job is not found with the given id.void setName(String name)
name - The output name.Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.