public abstract class RepositoryPrivilegeDescriptorSupport<T extends ApiPrivilegeWithRepository,Y extends ApiPrivilegeWithRepositoryRequest>
extends org.sonatype.nexus.security.privilege.PrivilegeDescriptorSupport<T,Y>
Modifier and Type | Field and Description |
---|---|
static String |
INVALID_FORMAT |
static String |
INVALID_FORMAT_FOR_REPOSITORY |
static String |
INVALID_REPOSITORY |
Constructor and Description |
---|
RepositoryPrivilegeDescriptorSupport(String type,
org.sonatype.nexus.repository.manager.RepositoryManager repositoryManager,
List<org.sonatype.nexus.repository.Format> formats) |
Modifier and Type | Method and Description |
---|---|
void |
validate(Y apiPrivilege) |
protected void |
validateRepositoryAndFormat(Y apiPrivilege) |
getType, humanizeActions, humanizeName, readListProperty, readProperty, readProperty, toString, validateActions
public static final String INVALID_REPOSITORY
public static final String INVALID_FORMAT_FOR_REPOSITORY
public static final String INVALID_FORMAT
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.