Class GitHubSCMProbe
- java.lang.Object
-
- jenkins.scm.api.SCMSourceCriteria.Probe
-
- jenkins.scm.api.SCMProbe
-
- com.github.kostyasha.github.integration.multibranch.fs.GitHubSCMProbe
-
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
public class GitHubSCMProbe extends jenkins.scm.api.SCMProbe
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitHubSCMProbe(GitHubSCMSource source, GitHubSCMHead<?> head, GitHubSCMRevision revision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
GitHubSCMHead<?>
getHead()
GitHubSCMRevision
getRevision()
long
lastModified()
String
name()
jenkins.scm.api.SCMProbeStat
stat(String path)
-
-
-
Constructor Detail
-
GitHubSCMProbe
public GitHubSCMProbe(GitHubSCMSource source, GitHubSCMHead<?> head, GitHubSCMRevision revision)
-
-
Method Detail
-
getHead
public GitHubSCMHead<?> getHead()
-
getRevision
public GitHubSCMRevision getRevision()
-
name
public String name()
- Specified by:
name
in classjenkins.scm.api.SCMSourceCriteria.Probe
-
close
public void close() throws IOException
- Throws:
IOException
-
stat
public jenkins.scm.api.SCMProbeStat stat(String path) throws IOException
- Specified by:
stat
in classjenkins.scm.api.SCMProbe
- Throws:
IOException
-
lastModified
public long lastModified()
- Specified by:
lastModified
in classjenkins.scm.api.SCMSourceCriteria.Probe
-
-