Package org.jenkinsci.plugins.p4.client
Class TempClientHelper
- java.lang.Object
-
- org.jenkinsci.plugins.p4.client.CredentialsHelper
-
- org.jenkinsci.plugins.p4.client.SessionHelper
-
- org.jenkinsci.plugins.p4.client.ConnectionHelper
-
- org.jenkinsci.plugins.p4.client.ClientHelper
-
- org.jenkinsci.plugins.p4.client.TempClientHelper
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class TempClientHelper extends ClientHelper implements Closeable
-
-
Constructor Summary
Constructors Constructor Description TempClientHelper(Item context, String credential, TaskListener listener, Workspace workspace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getClientUUID()
void
update(Workspace workspace)
-
Methods inherited from class org.jenkinsci.plugins.p4.client.ClientHelper
buildChange, clientLogin, findPendingChangelistIDByDesc, getChange, getClient, getClientHead, getClientHead, getClientView, getPendingChangelists, isClientValid, listChanges, listChanges, listChanges, listHaveChanges, listHaveChanges, listRepos, publishChange, resolveFiles, revertAllFiles, syncFiles, tidyWorkspace, unshelveFiles, versionFile, where
-
Methods inherited from class org.jenkinsci.plugins.p4.client.ConnectionHelper
buildRevisionLimit, counterToChange, deleteClient, getChangeFiles, getChangeSummary, getCommitFiles, getCounter, getDirs, getEmail, getGraphCommit, getGraphHead, getHead, getHeadLimit, getJobs, getLabel, getLabelFiles, getLowestHead, getMaxChangeLimit, getShelvedFiles, getStreams, getSwarm, hasFile, isClient, isCounter, isLabel, labelToChange, listAllRepos, listCommits, listRepos, setLabel
-
Methods inherited from class org.jenkinsci.plugins.p4.client.SessionHelper
abort, checkVersion, disconnect, getConnection, getP4SCM, getTicket, getTrust, getValidate, hasAborted, invalidateSession, invalidateSession, isConnected, isUnicode, login, logout
-
Methods inherited from class org.jenkinsci.plugins.p4.client.CredentialsHelper
findCredential, findCredential, findCredential, findCredential, getAuthorisationConfig, getCredential, getListener, getPort, getRetry, getTick, getUser, log
-
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classConnectionHelper
- Throws:
IOException
-
getClientUUID
public String getClientUUID()
-
update
public void update(Workspace workspace) throws AbortException
- Throws:
AbortException
-
-