Interface CredentialsService
public interface CredentialsService
Facility for manipulating Jenkins SecurityToken.
- Author:
- jerome
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CredentialsServiceSingletonCredentialsServiceinstance. -
Method Summary
Modifier and TypeMethodDescriptionFinds the account with the given id.Finds the first available account.getCredentials(Object scope, Item item) Lists the credentials available in the given scope.
-
Field Details
-
CREDENTIALS_SERVICE
SingletonCredentialsServiceinstance.
-
-
Method Details
-
findFirst
Finds the first available account.- Returns:
- octoperf account, if any
-
find
Finds the account with the given id.- Parameters:
id- account id- Returns:
-
getCredentials
Lists the credentials available in the given scope.- Parameters:
scope- credentials scope- Returns:
-