Enum ESyncParameters
- java.lang.Object
-
- java.lang.Enum<ESyncParameters>
-
- org.neotropic.kuwaiba.modules.commercial.sync.model.ESyncParameters
-
- All Implemented Interfaces:
Serializable,Comparable<ESyncParameters>
public enum ESyncParameters extends Enum<ESyncParameters>
- Author:
- Hardy Ryan Chingal Martinez
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SNMP_ADDRESSSNMP_PORTSSH_HOSTSSH_PASSWORDSSH_PORTSSH_USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ESyncParametersget(String abbreviation)Return enum based on register valuesStringgetValue()return value for Enum Tagstatic ESyncParametersvalueOf(String name)Returns the enum constant of this type with the specified name.static ESyncParameters[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SSH_PORT
public static final ESyncParameters SSH_PORT
-
SSH_HOST
public static final ESyncParameters SSH_HOST
-
SSH_USER
public static final ESyncParameters SSH_USER
-
SSH_PASSWORD
public static final ESyncParameters SSH_PASSWORD
-
SNMP_ADDRESS
public static final ESyncParameters SNMP_ADDRESS
-
SNMP_PORT
public static final ESyncParameters SNMP_PORT
-
-
Method Detail
-
values
public static ESyncParameters[] 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 (ESyncParameters c : ESyncParameters.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ESyncParameters 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
-
getValue
public String getValue()
return value for Enum Tag- Returns:
- value; String
-
get
public static ESyncParameters get(String abbreviation)
Return enum based on register values- Parameters:
abbreviation- ;String; values of any Tag- Returns:
- enum Tag;ESyncParameters
-
-