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 voidcheckRoles(org.jenkinsci.remoting.RoleChecker checker)Stringinvoke(File f, hudson.remoting.VirtualChannel channel)
-
-
-
Method Detail
-
invoke
public String invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
- Specified by:
invokein interfaceFilePath.FileCallable<String>- Throws:
IOExceptionInterruptedException
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException- Specified by:
checkRolesin interfaceorg.jenkinsci.remoting.RoleSensitive- Throws:
SecurityException
-
-