Interface CredentialsUseListener
- All Superinterfaces:
ExtensionPoint
A Listener to track
Credentials usage.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfireUse(Credentials c, Item item) Fires theonUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the item that uses credentials.static voidfireUse(Credentials c, Node node) Fires theonUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the node that uses credentials.static voidfireUse(Credentials c, Run run) Fires theonUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the run that uses credentials.voidonUse(Credentials c, Item item) Called whenCredentialsis read by an item.voidonUse(Credentials c, Node node) Called whenCredentialsis read by a node.voidonUse(Credentials c, Run run) Called whenCredentialsis read by a run.
-
Method Details
-
onUse
Called whenCredentialsis read by a run.- Parameters:
c- The used Credentials.run- The run using the credentials.
-
onUse
Called whenCredentialsis read by a node.- Parameters:
c- The used Credentials.node- The node using the credentials.
-
onUse
Called whenCredentialsis read by an item.- Parameters:
c- The used Credentials.item- The item using the credentials.
-
fireUse
Fires theonUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the run that uses credentials.- See Also:
-
fireUse
Fires theonUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the node that uses credentials.- See Also:
-
fireUse
Fires theonUse(com.cloudbees.plugins.credentials.Credentials, hudson.model.Run)event to track the item that uses credentials.- See Also:
-