|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CredentialType
Handles shared credentials.
Method Summary | |
---|---|
Map<String,String> |
generateCredentialsConfigMap(ActionParametersMap params,
CredentialsData previousCredentialsData)
Convert the params from the ui into a config map to be stored in the database. |
void |
populateContextForCreate(Map<String,Object> context)
Provide any required context to be used when rendering the freemarker template for creating credentials. |
void |
populateContextForEdit(Map<String,Object> context,
CredentialsData previousCredentialsData)
Provide any required context to be used when rendering the freemarker template for editing credentials. |
void |
validate(ActionParametersMap params,
CredentialsData previousCredentialsData,
ErrorCollection errorCollection)
Validate configuration. |
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule |
---|
init |
Method Detail |
---|
void populateContextForCreate(@NotNull Map<String,Object> context)
context
- map to put your context in.void populateContextForEdit(@NotNull Map<String,Object> context, @NotNull CredentialsData previousCredentialsData)
context
- map to put your context in.previousCredentialsData
- existing credentialsvoid validate(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection)
params
- configuration to be validatedpreviousCredentialsData
- the previous immutable CredentialsData
before saving or null if credentials
are being created.errorCollection
- error collection to be set on validation failure@NotNull Map<String,String> generateCredentialsConfigMap(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData)
params
- request parameters.previousCredentialsData
- the previous immutable CredentialsData
before saving or null if credentials
are being created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |