public class UnshelveTask extends AbstractTask implements hudson.FilePath.FileCallable<Boolean>, Serializable
Constructor and Description |
---|
UnshelveTask(String resolve)
Deprecated.
|
UnshelveTask(String resolve,
boolean tidy) |
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, getSyncID, getWorkspace, setCredential, setCredential, setCredential, setEnvironment, setListener, setWorkspace, tryTask
public UnshelveTask(String resolve, boolean tidy)
@Deprecated public UnshelveTask(String resolve)
public void setShelf(int shelf)
public Object task(ClientHelper p4) throws Exception
AbstractTask
task
in class AbstractTask
p4
- Perforce connection helperException
- push up stackpublic 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–2017. All rights reserved.