public class CheckoutTask extends AbstractTask implements hudson.FilePath.FileCallable<Boolean>, Serializable
Constructor and Description |
---|
CheckoutTask(Populate populate)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker) |
P4Revision |
getBuildChange() |
List<Integer> |
getChanges(P4Revision last) |
List<P4ChangeEntry> |
getChangesFull(P4Revision last) |
P4ChangeEntry |
getCurrentChange() |
int |
getReview() |
CheckoutStatus |
getStatus() |
P4Revision |
getSyncChange() |
void |
initialise() |
Boolean |
invoke(File workspace,
hudson.remoting.VirtualChannel channel)
Invoke sync on build node (master or remote node).
|
void |
setBuildChange(P4Revision parentChange) |
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 CheckoutTask(Populate populate)
populate
- public void initialise() throws hudson.AbortException
hudson.AbortException
public Boolean invoke(File workspace, hudson.remoting.VirtualChannel channel) throws IOException
invoke
in interface hudson.FilePath.FileCallable<Boolean>
IOException
public Object task(ClientHelper p4) throws Exception
AbstractTask
task
in class AbstractTask
Exception
public List<Integer> getChanges(P4Revision last)
public List<P4ChangeEntry> getChangesFull(P4Revision last)
public P4ChangeEntry getCurrentChange()
public CheckoutStatus getStatus()
public P4Revision getSyncChange()
public P4Revision getBuildChange()
public void setBuildChange(P4Revision parentChange)
public int getReview()
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
Copyright © 2016. All rights reserved.