Package com.splunk.splunkjenkins.utils
Class LogFileCallable
java.lang.Object
com.splunk.splunkjenkins.utils.LogFileCallable
- All Implemented Interfaces:
FilePath.FileCallable<Integer>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLogFileCallable
(String baseName, String buildUrl, Map eventCollectorProperty, boolean sendFromSlave, long maxFileSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkRoles
(org.jenkinsci.remoting.RoleChecker roleChecker) send
(String fileName, InputStream input) int
-
Constructor Details
-
LogFileCallable
-
-
Method Details
-
sendFiles
-
send
- Throws:
IOException
InterruptedException
-
invoke
public Integer invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException - Specified by:
invoke
in interfaceFilePath.FileCallable<Integer>
- Throws:
IOException
InterruptedException
-
checkRoles
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-