Uses of Class
zowe.client.sdk.rest.exception.ZosmfRequestException
-
Packages that use ZosmfRequestException Package Description zowe.client.sdk.rest Http functionality used by the SDK via UNIREST library.zowe.client.sdk.utility Set of utilities for SDK packageszowe.client.sdk.zosconsole.method z/OS mvs console functionality provided by the SDKzowe.client.sdk.zosfiles.dsn.methods z/OS dataset and member files functionality provided by the SDKzowe.client.sdk.zosfiles.uss.methods z/OS Unix System Services (USS) files functionality provided by the SDKzowe.client.sdk.zosjobs.methods z/OS jobs functionality provided by the SDKzowe.client.sdk.zoslogs.method z/OS log functionality provided by the SDKzowe.client.sdk.zosmfauth.methods z/OSMF authentication services functionality provided by the SDKzowe.client.sdk.zosmfinfo.methods z/OSMF informational functionality by the SDKzowe.client.sdk.zostso.methods z/OS tso command functionality by the SDK -
-
Uses of ZosmfRequestException in zowe.client.sdk.rest
Methods in zowe.client.sdk.rest that throw ZosmfRequestException Modifier and Type Method Description <T> ResponseZosmfRequest. buildResponse(kong.unirest.core.HttpResponse<T> reply)Build a Response object from a given HttpResponse replyResponseDeleteJsonZosmfRequest. executeRequest()Perform the http rest requestResponseGetJsonZosmfRequest. executeRequest()Perform the http rest requestResponseGetStreamZosmfRequest. executeRequest()Perform the http rest requestResponseGetTextZosmfRequest. executeRequest()Perform the http rest requestResponsePostJsonZosmfRequest. executeRequest()Perform the http rest requestResponsePutJsonZosmfRequest. executeRequest()/** Perform the http rest requestResponsePutStreamZosmfRequest. executeRequest()Perform the http rest requestResponsePutTextZosmfRequest. executeRequest()Perform the http rest requestabstract ResponseZosmfRequest. executeRequest()Perform the http rest request -
Uses of ZosmfRequestException in zowe.client.sdk.utility
Methods in zowe.client.sdk.utility that throw ZosmfRequestException Modifier and Type Method Description static StringTsoUtils. getResponseStr(ZosmfRequest request)Helper method calls to perform the request http request and returns the response object as a string value.static org.json.simple.JSONObjectJsonUtils. parse(String item)This method is a wrapper for JSONParser().parse() call to parse z/OSMF response which may return ZosmfRequestException.static org.json.simple.JSONArrayJsonUtils. parseArray(String item)This method is a wrapper for JSONParser().parse() call to parse z/OSMF response which may return ZosmfRequestException.static <T> TJsonUtils. parseResponse(String json, Class<T> clazz, String context)Parse a JSON string into a specified POJO type. -
Uses of ZosmfRequestException in zowe.client.sdk.zosconsole.method
Methods in zowe.client.sdk.zosconsole.method that throw ZosmfRequestException Modifier and Type Method Description ConsoleGetResponseConsoleGet. getResponse(String responseKey)Retrieve synchronous z/OS console response messages from a console issue command request's response value.ConsoleGetResponseConsoleGet. getResponse(String responseKey, String consoleName)Retrieve synchronous z/OS console response messages from a console issue command request's response value and console name.ConsoleGetResponseConsoleGet. getResponseCommon(String responseKey, String consoleName, boolean processResponse)Common method with all inputs to retrieve any outstanding synchronous z/OS console response messages from a console issue command request.ConsoleCmdResponseConsoleCmd. issueCommand(String command)Issue an MVS console command on default console name (Defcn) done synchronously - meaning solicited (direct command responses) are gathered immediately after the command is issued.ConsoleCmdResponseConsoleCmd. issueCommand(String command, String consoleName)Issue an MVS console command on a given console name done synchronously - meaning solicited (direct command responses) are gathered immediately after the command is issued.ConsoleCmdResponseConsoleCmd. issueCommandCommon(String consoleName, ConsoleCmdInputData consoleInputData)Issue an MVS console command on a given console name driven by ConsoleCmdInputData settings done synchronously. -
Uses of ZosmfRequestException in zowe.client.sdk.zosfiles.dsn.methods
Methods in zowe.client.sdk.zosfiles.dsn.methods that throw ZosmfRequestException Modifier and Type Method Description ResponseDsnCopy. copy(String fromDataSetName, String toDataSetName, boolean replace, boolean copyAllMembers)This copy method allows the following copy operations:ResponseDsnCopy. copyCommon(DsnCopyInputData copyInputData)Copy dataset or dataset member request driven by DsnCopyInputData object settingsResponseDsnCreate. create(String dataSetName, DsnCreateInputData createInputData)Creates a new dataset with specified parametersResponseDsnRename. dataSetName(String dataSetName, String newDataSetName)Change the existing dataset name (source) to a new dataset name (destination)ResponseDsnDelete. delete(String dataSetName)Delete a datasetResponseDsnDelete. delete(String dataSetName, String memberName)Delete a dataset memberInputStreamDsnGet. get(String targetName, DsnDownloadInputData downloadInputData)Retrieve sequential dataset or dataset member contentList<Dataset>DsnList. getDatasets(String dataSetName, DsnListInputData listInputData)Get a list of Dataset objectsDatasetDsnGet. getDsnInfo(String dataSetName)Retrieve dataset information.List<Member>DsnList. getMembers(String dataSetName, DsnListInputData listInputData)Get a list of member objects from a partition DatasetResponseDsnRename. memberName(String fromDataSetName, String memberName, String newMemberName)Change the existing member name (source) to a new member name (destination) within a partition datasetResponseDsnWrite. write(String dataSetName, String content)Replaces the content of an existing sequential data set with new content.ResponseDsnWrite. write(String dataSetName, String memberName, String content)Replaces the content of a member of a partitioned data set (PDS or PDSE) with new content. -
Uses of ZosmfRequestException in zowe.client.sdk.zosfiles.uss.methods
Methods in zowe.client.sdk.zosfiles.uss.methods that throw ZosmfRequestException Modifier and Type Method Description ResponseUssChangeTag. binary(String fileNamePath)Change the tag of a UNIX file to a binary typeResponseUssChangeMode. change(String targetPath, UssChangeModeInputData changeModeInputData)Change the mode of a UNIX file or directory request driven by UssChangeModeInputData object settingsResponseUssChangeOwner. change(String targetPath, String owner)Perform chown operation on a UNIX file or directoryResponseUssChangeOwner. changeCommon(String targetPath, UssChangeOwnerInputData changeOwnerInputData)Perform chown operation on a UNIX file or directory request driven by UssChangeOwnerInputData object settingsResponseUssChangeTag. changeCommon(String fileNamePath, UssChangeTagInputData changeTagInputData)Change tag of a UNIX file request driven by UssChangeTagInputData object settingsResponseUssCopy. copy(String fromPath, String targetPath)Copy a Unix file or directory to another locationResponseUssCopy. copyCommon(String targetPath, UssCopyInputData copyInputData)Copy a Unix file or directory to another location request driven by UssCopyInputData object settingsResponseUssCreate. create(String targetPath, UssCreateInputData createInputData)Perform UNIX create a file or directory name request driven by UssCreateInputData object settings.ResponseUssCreate. createZfs(String fileSystemName)Create a ZFS using default values of 755 permissions, 10 primary and 2 secondary cylinders allocated, and a timeout of 20 seconds.ResponseUssCreate. createZfsCommon(String fileSystemName, UssCreateZfsInputData createZfsInputData)Create a ZFS request driven by the UssCreateZfsInputData object settings.ResponseUssDelete. delete(String targetPath)Perform UNIX delete file or directory name requestResponseUssDelete. delete(String targetPath, boolean recursive)Perform UNIX delete file or directory name request with a recursive flagResponseUssSetAcl. delete(String targetPath, String value)Deletes the specified ACL entry from the file or directoryResponseUssSetAcl. deleteByType(String targetPath, DeleteAclType deleteType)Delete all extended ACL entries by type (setfacl -D type):ResponseUssDelete. deleteZfs(String fileSystemName)Delete UNIX zFS FilesystemStringUssExtAttr. display(String targetPath)Returns a response string documenting listing attributesResponseUssChangeTag. get(String fileNamePath)Retrieve existing UNIX file tag informationStringUssGetAcl. get(String targetPath, boolean useCommas)Get the ACL for a USS file or directoryResponseUssGetAcl. getAclCommon(String targetPath, UssGetAclInputData getAclInputData)Get the ACL for a USS file or directorybyte[]UssGet. getBinary(String fileNamePath)Get the binary contents of a UNIX fileResponseUssGet. getCommon(String fileNamePath, UssGetInputData getInputData)Get the contents of a UNIX file driven by the UssGetInputData object settingsList<UnixFile>UssList. getFiles(UssListInputData listInputData)Perform a list of UNIX files operationStringUssGet. getText(String fileNamePath)Get the text contents of a UNIX fileList<UnixZfs>UssList. getZfsSystems(UssListZfsInputData listZfsInputData)Perform a list of UNIX filesystems operationResponseUssSetAcl. modify(String targetPath, String value)Modifies the specified ACL entry for the file or directoryResponseUssMount. mount(String fileSystemName, String mountPoint, String fsType)Perform mount of a file system name to the UNIX file system.ResponseUssMount. mountCommon(String fileSystemName, UssMountInputData mountInputData)Perform mount or unmount of a file system name request driven by UssMountInputData settingsResponseUssMove. move(String fromPath, String targetPath)Move a UNIX file or directory with overwriting set as trueResponseUssMove. move(String fromPath, String targetPath, boolean overwrite)Move a UNIX file or directory with overwritten value specifiedResponseUssChangeTag. remove(String fileNamePath)Remove tag of a UNIX fileResponseUssExtAttr. reset(String targetPath, String value)Resets the attributes of a file or directoryResponseUssExtAttr. set(String targetPath, String value)Extends the attributes of a file or directoryResponseUssSetAcl. set(String targetPath, String value)Sets the ACL for a USS file or directoryResponseUssSetAcl. setAclCommon(String targetPath, UssSetAclInputData setAclInputData)Sets the ACL for a USS file or directory request driven by UssSetAclInputData object settingsResponseUssChangeTag. text(String fileNamePath, String codeSet)Change the tag of a UNIX file to a text typeResponseUssMount. unmount(String fileSystemName)Perform unmounting of a file system nameResponseUssWrite. writeBinary(String fileNamePath, byte[] content)Perform UNIX write binary content requestResponseUssWrite. writeCommon(String fileNamePath, UssWriteInputData writeInputData)Perform UNIX write request driven by UssWriteInputData settingsResponseUssWrite. writeText(String fileNamePath, String content)Perform UNIX write text content request -
Uses of ZosmfRequestException in zowe.client.sdk.zosjobs.methods
Methods in zowe.client.sdk.zosjobs.methods that throw ZosmfRequestException Modifier and Type Method Description ResponseJobCancel. cancel(String jobName, String jobId, String version)Cancel a job on z/OS by job name and job id values.ResponseJobCancel. cancelByJob(Job job, String version)Cancel a job on z/OS by job object.ResponseJobCancel. cancelCommon(JobModifyInputData modifyInputData)Cancel a job on z/OS by JobModifyInputData object.ResponseJobDelete. delete(String jobName, String jobId, String version)Cancel and purge a job from spool.ResponseJobDelete. deleteByJob(Job job, String version)Cancel and purge a job from spool.ResponseJobDelete. deleteCommon(JobModifyInputData modifyInputData)Delete a job on z/OS by JobModifyInputData object.List<Job>JobGet. getAll()Get jobs (defaults to the user ID of the session as an owner).JobJobGet. getById(String jobId)Get a job by job id.List<Job>JobGet. getByOwner(String owner)Get jobs that are owned by a certain user or pattern of users.List<Job>JobGet. getByOwnerAndPrefix(String owner, String prefix)Get a list of jobs that match an owner and prefix.List<Job>JobGet. getByPrefix(String prefix)Get jobs that match a job name by prefix.List<Job>JobGet. getCommon(JobGetInputData getInputData)Get jobs filtered by owner and prefix.StringJobGet. getJcl(String jobName, String jobId)Get JCL from a job.StringJobGet. getJclByJob(Job job)Get JCL from a job.StringJobGet. getJclCommon(CommonJobInputData commonInputData)Get the JCL that was used to submit a job.StringJobGet. getSpoolContent(String jobName, String jobId, Long spoolId)Get spool content from a job using the job name, job ID, and spool ID number.StringJobGet. getSpoolContent(JobFile jobFile)Get spool content from a job (keeping a naming convention pattern with this duplication function).StringJobGet. getSpoolContentCommon(JobFile jobFile)Get spool file content from a job file definition.List<JobFile>JobGet. getSpoolFiles(String jobName, String jobId)Get a list of all spool files for a job.List<JobFile>JobGet. getSpoolFilesByJob(Job job)Get a list of all job spool files for a job.List<JobFile>JobGet. getSpoolFilesCommon(CommonJobInputData commonInputData)Get a list of all job spool files for a job.JobJobGet. getStatus(String jobName, String jobId)Get the status and other details (e.g., owner, return code) for a job, including step-data.JobJobGet. getStatusByJob(Job job)Get the status and other details (e.g., owner, return code) for a job, including step-data.JobJobGet. getStatusCommon(CommonJobInputData commonInputData)Get the status and other details (e.g., owner, return code) for a job, including step-data.StringJobGet. getStatusValue(String jobName, String jobId)Get the status value only for a given job name and id.StringJobGet. getStatusValueByJob(Job job)Get the status value for a given job object.booleanJobMonitor. isRunning(JobMonitorInputData monitorInputData)Determines if a given job is in a running state or not.JobJobSubmit. submit(String jobDataSet)Submit a job on z/OS.JobJobSubmit. submitByJcl(String jcl, String internalReaderRecfm, String internalReaderLrecl)Submit a string of JCL to run.JobJobSubmit. submitCommon(JobSubmitInputData submitInputData)Submit a job on z/OS.JobJobSubmit. submitJclCommon(JobSubmitJclInputData submitJclInputData)Submit a JCL string to run which can contain JCL symbolic substitutionsbooleanJobMonitor. waitByMessage(String jobName, String jobId, String message)Given the jobname/jobid, wait for the given message from the job.booleanJobMonitor. waitByMessage(Job job, String message)Given a Job document (has jobname/jobid), wait for the given message from the job.JobJobMonitor. waitByOutputStatus(String jobName, String jobId)Given the jobname/jobid, wait for the status of the job to be "OUTPUT".JobJobMonitor. waitByOutputStatus(Job job)Given a Job document (has jobname/jobid), wait for the status of the job to be "OUTPUT".JobJobMonitor. waitByStatus(String jobName, String jobId, JobStatus.Type statusType)Given the jobname/jobid, wait for the given status of the job.JobJobMonitor. waitByStatus(Job job, JobStatus.Type statusType)Given a Job document (has jobname/jobid), wait for the given status of the job.booleanJobMonitor. waitMessageCommon(JobMonitorInputData monitorInputData, String message)Given jobname/jobid, check for the desired message continuously (based on the interval and attempts specified).JobJobMonitor. waitStatusCommon(JobMonitorInputData monitorInputData)Given jobname/jobid, check for the desired "status" (default is "OUTPUT") continuously (based on the interval and attempts specified). -
Uses of ZosmfRequestException in zowe.client.sdk.zoslogs.method
Methods in zowe.client.sdk.zoslogs.method that throw ZosmfRequestException Modifier and Type Method Description ZosLogResponseZosLog. issueCommand(ZosLogInputData logInputData)Issue a z/OSMF log command and return log data. -
Uses of ZosmfRequestException in zowe.client.sdk.zosmfauth.methods
Methods in zowe.client.sdk.zosmfauth.methods that throw ZosmfRequestException Modifier and Type Method Description ResponseZosmfPassword. changePassword(PasswordInputData pwdInputData)Change the password or passphrase for a specified User ID driven by PasswordInputData object settingsZosmfLoginResponseZosmfLogin. login()Request to log into the server and retrieve authentication tokensResponseZosmfLogout. logout(kong.unirest.core.Cookie token)Request to log out of server and delete authentication cookie token -
Uses of ZosmfRequestException in zowe.client.sdk.zosmfinfo.methods
Methods in zowe.client.sdk.zosmfinfo.methods that throw ZosmfRequestException Modifier and Type Method Description ZosmfInfoResponseZosmfStatus. get()Get z/OSMF informationZosmfSystemsResponseZosmfSystems. get()List systems defined to z/OSMF -
Uses of ZosmfRequestException in zowe.client.sdk.zostso.methods
Methods in zowe.client.sdk.zostso.methods that throw ZosmfRequestException Modifier and Type Method Description List<String>TsoCmd. issueCommand(String command)Issue TSO command API call to process the given command via z/OSMF restful apiList<String>TsoCmd. issueCommand(String command, StartTsoInputData inputData)Issue TSO command API call to process the given command via z/OSMF restful with given custom parameters for the start TSO session callTsoCommonResponseTsoPing. ping(String sessionId)Send a ping request to z/OSMF TSO to keep the session aliveStringTsoReply. reply(String sessionId)Send a request to z/OSMF TSO for additional TSO message data from a valid already started TSO session.StringTsoSend. sendCommand(String sessionId, String command)Make the second request to send TSO the command to perform via z/OSMFTsoStartResponseTsoStart. start(StartTsoInputData inputData)Make the first TSO request to start the TSO session and retrieve its session id (servletKey).TsoCommonResponseTsoStop. stop(String sessionId)Stop the TSO session by session id (servletKey)
-