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.RoleSensitive
checkRoles
in class jenkins.MasterToSlaveFileCallable<Boolean>
SecurityException
public Boolean invoke(File uploadFile, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke
in interface hudson.FilePath.FileCallable<Boolean>
IOException
InterruptedException
public ApperianUpload getUpload()
public PrintStream getLogger()
Copyright © 2016–2023. All rights reserved.