Enum SetEndorserRoleFilter.TransactionJobEnum
- java.lang.Object
-
- java.lang.Enum<SetEndorserRoleFilter.TransactionJobEnum>
-
- org.hyperledger.aries.api.endorser.SetEndorserRoleFilter.TransactionJobEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SetEndorserRoleFilter.TransactionJobEnum>
- Enclosing class:
- SetEndorserRoleFilter
public static enum SetEndorserRoleFilter.TransactionJobEnum extends Enum<SetEndorserRoleFilter.TransactionJobEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESETTRANSACTION_AUTHORTRANSACTION_ENDORSER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SetEndorserRoleFilter.TransactionJobEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SetEndorserRoleFilter.TransactionJobEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSACTION_AUTHOR
@SerializedName("TRANSACTION_AUTHOR") public static final SetEndorserRoleFilter.TransactionJobEnum TRANSACTION_AUTHOR
-
TRANSACTION_ENDORSER
@SerializedName("TRANSACTION_ENDORSER") public static final SetEndorserRoleFilter.TransactionJobEnum TRANSACTION_ENDORSER
-
RESET
@SerializedName("reset") public static final SetEndorserRoleFilter.TransactionJobEnum RESET
-
-
Method Detail
-
values
public static SetEndorserRoleFilter.TransactionJobEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SetEndorserRoleFilter.TransactionJobEnum c : SetEndorserRoleFilter.TransactionJobEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SetEndorserRoleFilter.TransactionJobEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-