Package org.jenkinsci.plugins.p4.tasks
Class HostnameTask
- java.lang.Object
-
- org.jenkinsci.plugins.p4.tasks.HostnameTask
-
- All Implemented Interfaces:
FilePath.FileCallable<String>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class HostnameTask extends Object implements FilePath.FileCallable<String>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostnameTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
String
invoke(File f, hudson.remoting.VirtualChannel channel)
-
-
-
Method Detail
-
invoke
public String invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
- Specified by:
invoke
in interfaceFilePath.FileCallable<String>
- Throws:
IOException
InterruptedException
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-
-