Package org.jenkinsci.plugins.deployment
Class DeploymentFacet<T extends HostRecord>
- java.lang.Object
-
- jenkins.model.FingerprintFacet
-
- org.jenkinsci.plugins.deployment.DeploymentFacet<T>
-
- All Implemented Interfaces:
ExtensionPoint
public class DeploymentFacet<T extends HostRecord> extends FingerprintFacet
Records a collection ofHostRecord
to aFingerprint
object.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static PermissionGroup
PERMISSIONS
static Permission
RECORD
CopyOnWriteArrayList<T>
records
-
Constructor Summary
Constructors Constructor Description DeploymentFacet(Fingerprint fingerprint, long timestamp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T r)
static void
recordPermission()
-
Methods inherited from class jenkins.model.FingerprintFacet
_setOwner, createActions, getFingerprint, getTimestamp, isFingerprintDeletionBlocked
-
-
-
-
Field Detail
-
records
public final CopyOnWriteArrayList<T extends HostRecord> records
-
PERMISSIONS
public static final PermissionGroup PERMISSIONS
-
RECORD
public static final Permission RECORD
-
-
Constructor Detail
-
DeploymentFacet
public DeploymentFacet(Fingerprint fingerprint, long timestamp)
-
-
Method Detail
-
add
public void add(T r) throws IOException
- Throws:
IOException
-
recordPermission
@Initializer public static void recordPermission()
-
-