public class zOSJobSubmitter
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
zOSJobSubmitter.zOSJobSubmitterDescriptor
zOSJobSubmitterDescriptor
Descriptor for zOSJobSubmitter.
|
| Constructor and Description |
|---|
zOSJobSubmitter(String server,
int port,
String userID,
String password,
boolean wait,
int waitTime,
boolean deleteJobFromSpool,
String job,
String MaxCC)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDeleteJobFromSpool()
Get deleteJobFromSpool.
|
zOSJobSubmitter.zOSJobSubmitterDescriptor |
getDescriptor()
Get descriptor for this class.
|
String |
getJob()
Get Job.
|
String |
getMaxCC() |
String |
getPassword()
Get User Password.
|
int |
getPort()
Get FTP port to connect to.
|
String |
getServer()
Get LPAR name of IP address.
|
String |
getUserID()
Get UserID.
|
boolean |
getWait()
Get wait.
|
int |
getWaitTime()
Get wait time.
|
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Submit the job for execution.
|
@DataBoundConstructor public zOSJobSubmitter(String server, int port, String userID, String password, boolean wait, int waitTime, boolean deleteJobFromSpool, String job, String MaxCC)
server - LPAR name or IP address.port - FTP port to connect to.userID - UserID.password - User password.wait - Whether we need to wait for the job completion.waitTime - Maximum wait time. If set to 0 will wait forever.deleteJobFromSpool - Whethe the job log will e deleted from the spool after end.job - JCL of the job to be submitted.public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - Current build.launcher - Current launcher.listener - Current listener.true if wait is false.zFTPConnectorpublic String getServer()
serverpublic int getPort()
portpublic String getUserID()
userIDpublic String getPassword()
passwordpublic boolean getWait()
waitpublic boolean getDeleteJobFromSpool()
deleteJobFromSpoolpublic int getWaitTime()
waitTimepublic String getJob()
Jobpublic String getMaxCC()
MaxCC of the job to be considered OKpublic zOSJobSubmitter.zOSJobSubmitterDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2015. All Rights Reserved.