Package org.jenkinsci.plugins.p4.scm
Class P4SCMFileSystem
- java.lang.Object
-
- jenkins.scm.api.SCMFileSystem
-
- org.jenkinsci.plugins.p4.scm.P4SCMFileSystem
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class P4SCMFileSystem extends jenkins.scm.api.SCMFileSystem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classP4SCMFileSystem.BuilderImpl
-
Constructor Summary
Constructors Modifier Constructor Description protectedP4SCMFileSystem(Item owner, PerforceScm scm, P4SCMRevision rev)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddJenkinsFilePath(String path)voidclose()TempClientHelpergetConnection()jenkins.scm.api.SCMFilegetRoot()longlastModified()
-
-
-
Constructor Detail
-
P4SCMFileSystem
protected P4SCMFileSystem(@NonNull Item owner, @NonNull PerforceScm scm, @CheckForNull P4SCMRevision rev) throws Exception- Throws:
Exception
-
-
Method Detail
-
addJenkinsFilePath
public void addJenkinsFilePath(String path)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classjenkins.scm.api.SCMFileSystem- Throws:
IOException
-
lastModified
public long lastModified() throws IOException, InterruptedException- Specified by:
lastModifiedin classjenkins.scm.api.SCMFileSystem- Throws:
IOExceptionInterruptedException
-
getRoot
public jenkins.scm.api.SCMFile getRoot()
- Specified by:
getRootin classjenkins.scm.api.SCMFileSystem
-
getConnection
public TempClientHelper getConnection()
-
-