public class PublishFileCallable extends jenkins.MasterToSlaveFileCallable<Boolean> implements hudson.FilePath.FileCallable<Boolean>
| Constructor and Description |
|---|
PublishFileCallable(ApperianUpload upload,
hudson.model.TaskListener listener,
String apiTokenValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker var1) |
PrintStream |
getLogger() |
ApperianUpload |
getUpload() |
Boolean |
invoke(File uploadFile,
hudson.remoting.VirtualChannel channel) |
public PublishFileCallable(ApperianUpload upload, hudson.model.TaskListener listener, String apiTokenValue)
public void checkRoles(org.jenkinsci.remoting.RoleChecker var1)
throws SecurityException
checkRoles in interface org.jenkinsci.remoting.RoleSensitivecheckRoles in class jenkins.MasterToSlaveFileCallable<Boolean>SecurityExceptionpublic Boolean invoke(File uploadFile, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke in interface hudson.FilePath.FileCallable<Boolean>IOExceptionInterruptedExceptionpublic ApperianUpload getUpload()
public PrintStream getLogger()
Copyright © 2016–2023. All rights reserved.