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