Constructor and Description |
---|
SanitizedSecretWithGroups() |
Modifier and Type | Method and Description |
---|---|
static String |
displayName(SanitizedSecretWithGroups sanitizedSecretWithGroups) |
static SanitizedSecretWithGroups |
fromSecret(Secret secret,
List<Group> groups)
Build a matching representation of a secret, but without sensitive content.
|
static SanitizedSecretWithGroups |
fromSecretSeriesAndContentAndGroups(SecretSeriesAndContent seriesAndContent,
List<Group> groups) |
abstract List<Group> |
groups() |
static SanitizedSecretWithGroups |
of(long id,
String name,
List<Group> groups) |
static SanitizedSecretWithGroups |
of(SanitizedSecret secret,
List<Group> groups) |
abstract SanitizedSecret |
secret() |
public static SanitizedSecretWithGroups of(SanitizedSecret secret, List<Group> groups)
public static SanitizedSecretWithGroups of(long id, String name, List<Group> groups)
public static SanitizedSecretWithGroups fromSecretSeriesAndContentAndGroups(SecretSeriesAndContent seriesAndContent, List<Group> groups)
public static SanitizedSecretWithGroups fromSecret(Secret secret, List<Group> groups)
secret
- secret model to build fromgroups
- the list of groupspublic abstract SanitizedSecret secret()
public static String displayName(SanitizedSecretWithGroups sanitizedSecretWithGroups)
Copyright © 2018 Walmart, Inc.. All rights reserved.