Class RuleSecretTransformer
java.lang.Object
com.codebarrel.automation.api.secrets.RuleSecretTransformer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRuleSecretTransformer(com.atlassian.secrets.api.SecretService jiraSecretService, FeatureFlagCache featureFlagCache) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisEncrypted(String key, String encryptedKey) booleantransformToBean(RuleSecret ruleSecret) transformToBean(RuleSecretWithProjects ruleSecret) transformToRuleSecret(RuleSecretBean bean, String existingSecretId)
-
Field Details
-
A4J_KEY_PREFIX
- See Also:
-
KEY_TOKEN_SEPARATOR
- See Also:
-
-
Constructor Details
-
RuleSecretTransformer
@Inject public RuleSecretTransformer(com.atlassian.secrets.api.SecretService jiraSecretService, FeatureFlagCache featureFlagCache)
-
-
Method Details
-
transformToBean
-
transformToBean
-
transformToRuleSecret
-
isEncrypted
-
isEncryptionEnabled
public boolean isEncryptionEnabled() -
deleteSecretFromJira
-