public static enum Member.DistributionRole extends java.lang.Enum<Member.DistributionRole>
Enum Constant and Description |
---|
LEECH
The Member is not willing to store any entries put into the Space by any Member.
|
NO_ROLE
No role
|
SEEDER
The Member is willing to store (seed) entries put into the Space by any Member.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Member.DistributionRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Member.DistributionRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Member.DistributionRole NO_ROLE
public static final Member.DistributionRole LEECH
public static final Member.DistributionRole SEEDER
public static Member.DistributionRole[] values()
for (Member.DistributionRole c : Member.DistributionRole.values()) System.out.println(c);
public static Member.DistributionRole valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.