Class CommandCallable
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<List<String>>
-
- io.jenkins.plugins.report.genericdiff.CommandCallable
-
- All Implemented Interfaces:
FilePath.FileCallable<List<String>>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class CommandCallable extends MasterToSlaveFileCallable<List<String>>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommandCallable(String command)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
invoke(File f, hudson.remoting.VirtualChannel vchannel)
static String
readStream(InputStream is)
-
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
-
-
-
Constructor Detail
-
CommandCallable
public CommandCallable(String command)
-
-
Method Detail
-
invoke
public List<String> invoke(File f, hudson.remoting.VirtualChannel vchannel) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
readStream
public static String readStream(InputStream is) throws IOException
- Throws:
IOException
-
-