public class PollTask extends AbstractTask implements hudson.FilePath.FileCallable<List<P4Ref>>, Serializable
Constructor and Description |
---|
PollTask(List<Filter> filter,
List<P4Ref> lastRefs) |
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker) |
List<P4Ref> |
invoke(File workspace,
hudson.remoting.VirtualChannel channel) |
void |
setLimit(String expandedPin) |
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 List<P4Ref> invoke(File workspace, hudson.remoting.VirtualChannel channel) throws IOException
invoke
in interface hudson.FilePath.FileCallable<List<P4Ref>>
IOException
public Object task(ClientHelper p4) throws Exception
AbstractTask
task
in class AbstractTask
p4
- Perforce connection helperException
- push up stackpublic void setLimit(String expandedPin)
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
Copyright © 2016–2017. All rights reserved.