public static enum BranchAccessAuthorizer.AccessType extends Enum<BranchAccessAuthorizer.AccessType>
Modifier and Type | Method and Description |
---|---|
static BranchAccessAuthorizer.AccessType |
valueOf(org.eclipse.jgit.transport.ReceiveCommand.Type commandType) |
static BranchAccessAuthorizer.AccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BranchAccessAuthorizer.AccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BranchAccessAuthorizer.AccessType READ
public static final BranchAccessAuthorizer.AccessType WRITE
public static final BranchAccessAuthorizer.AccessType DELETE
public static BranchAccessAuthorizer.AccessType[] values()
for (BranchAccessAuthorizer.AccessType c : BranchAccessAuthorizer.AccessType.values()) System.out.println(c);
public static BranchAccessAuthorizer.AccessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static BranchAccessAuthorizer.AccessType valueOf(org.eclipse.jgit.transport.ReceiveCommand.Type commandType)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.