Package org.jenkinsci.plugins.p4.tasks
Class UnshelveTask
java.lang.Object
org.jenkinsci.plugins.p4.tasks.AbstractTask
org.jenkinsci.plugins.p4.tasks.UnshelveTask
- All Implemented Interfaces:
FilePath.FileCallable<Boolean>,Serializable,org.jenkinsci.remoting.RoleSensitive
public class UnshelveTask
extends AbstractTask
implements FilePath.FileCallable<Boolean>, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnshelveTask(String credential, Run<?, ?> run, TaskListener listener, String resolve, boolean tidy) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckRoles(org.jenkinsci.remoting.RoleChecker checker) voidsetShelf(long shelf) task(ClientHelper p4) Implements the P4 task to retry if necessaryMethods inherited from class org.jenkinsci.plugins.p4.tasks.AbstractTask
checkConnection, getClientName, getCredential, getListener, getSyncID, getWorkspace, setEnvironment, setup, setWorkspace, tryTask
-
Constructor Details
-
UnshelveTask
public UnshelveTask(String credential, Run<?, ?> run, TaskListener listener, String resolve, boolean tidy)
-
-
Method Details
-
setShelf
public void setShelf(long shelf) -
task
Description copied from class:AbstractTaskImplements the P4 task to retry if necessary- Specified by:
taskin classAbstractTask- Parameters:
p4- P4 connection helper- Returns:
- Task object
- Throws:
Exception- push up stack
-
invoke
- Specified by:
invokein interfaceFilePath.FileCallable<Boolean>- Throws:
IOException
-
checkRoles
- Specified by:
checkRolesin interfaceorg.jenkinsci.remoting.RoleSensitive- Throws:
SecurityException
-