Package com.redwood.scheduler.api.model
Interface EnumResolver
- 
 public interface EnumResolverInterface for resolving all EnumerationsBaseSchedulerEnumerationbased on their name.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BaseSchedulerEnumeration<?,?>getEnumerationByTypeCode(String type, String code)Get an enumeration value based upon the type and the code.BaseSchedulerEnumeration<?,?>getEnumerationByTypeValue(String type, String value)Get an enumeration value based upon the type and the String value.
 
- 
- 
- 
Method Detail- 
getEnumerationByTypeCodeBaseSchedulerEnumeration<?,?> getEnumerationByTypeCode(String type, String code) Get an enumeration value based upon the type and the code.- Parameters:
- type- the type of enumeration
- code- the char/int code as a string
- Returns:
- the enumeration value that matches the type and code, or
            nullif it does not exist.
 
 - 
getEnumerationByTypeValueBaseSchedulerEnumeration<?,?> getEnumerationByTypeValue(String type, String value) Get an enumeration value based upon the type and the String value.- Parameters:
- type- the type of enumeration
- value- the string value of the enumeration
- Returns:
- the enumeration value that matches the type and value, or
            nullif it does not exist.
 
 
- 
 
-