public class UnshelveTask extends AbstractTask implements hudson.FilePath.FileCallable<Boolean>, Serializable
Constructor and Description |
---|
UnshelveTask(String resolve) |
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker) |
Boolean |
invoke(File workspace,
hudson.remoting.VirtualChannel channel) |
void |
setShelf(int shelf) |
Object |
task(ClientHelper p4)
Implements the Perforce task to retry if necessary
|
checkConnection, getClient, getConnection, getCredential, getListener, getWorkspace, setCredential, setEnvironment, setListener, setNextChange, setWorkspace, tryTask
public UnshelveTask(String resolve)
public void setShelf(int shelf)
public Object task(ClientHelper p4) throws Exception
AbstractTask
task
in class AbstractTask
Exception
public Boolean invoke(File workspace, hudson.remoting.VirtualChannel channel) throws IOException
invoke
in interface hudson.FilePath.FileCallable<Boolean>
IOException
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
Copyright © 2016. All rights reserved.