public class DockerDeploymentRefFacet
extends jenkins.model.FingerprintFacet
Fingerprint
s.Constructor and Description |
---|
DockerDeploymentRefFacet(hudson.model.Fingerprint fingerprint,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
static DockerDeploymentRefFacet |
addRef(hudson.model.Fingerprint fingerprint,
String containerId) |
Set<String> |
getContainerIds() |
DockerContainerRecord |
getLastRecord(String containerId)
Gets a last container record for every container.
|
String |
getLastStatus(String containerId)
Retrieves the last known status.
|
static DockerDeploymentRefFacet |
getOrCreate(hudson.model.Fingerprint fingerprint,
long timestamp) |
public DockerDeploymentRefFacet(@Nonnull hudson.model.Fingerprint fingerprint, long timestamp)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @CheckForNull public DockerContainerRecord getLastRecord(@Nonnull String containerId)
containerId
- Container ID (64-char string)@Nonnull public String getLastStatus(@Nonnull String containerId)
containerId
- Container ID (64-char string)@Nonnull public static DockerDeploymentRefFacet getOrCreate(@Nonnull hudson.model.Fingerprint fingerprint, long timestamp) throws IOException
IOException
public static DockerDeploymentRefFacet addRef(@Nonnull hudson.model.Fingerprint fingerprint, @Nonnull String containerId) throws IOException
IOException
Copyright © 2015–2016. All rights reserved.