public class FileFoundable extends Object implements FilePath.FileCallable<String>
Constructor and Description |
---|
FileFoundable(String filename) |
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker) |
String |
invoke(File f,
hudson.remoting.VirtualChannel channel) |
public final String filename
public FileFoundable(String filename)
public String invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
invoke
in interface FilePath.FileCallable<String>
IOException
InterruptedException
public void checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
Copyright © 2016–2022. All rights reserved.