Package org.nuiton.config.example
Class GeneratedNuitonConfigExampleConfig
- java.lang.Object
-
- org.nuiton.config.example.GeneratedNuitonConfigExampleConfig
-
- All Implemented Interfaces:
Supplier<ApplicationConfig>
- Direct Known Subclasses:
NuitonConfigExampleConfig
public abstract class GeneratedNuitonConfigExampleConfig extends Object implements Supplier<ApplicationConfig>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GeneratedNuitonConfigExampleConfig()
protected
GeneratedNuitonConfigExampleConfig(ApplicationConfigInit init)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConfig
get()
int
getAge()
String
getConfigurationDescription()
String
getEmail()
String
getFirstName()
String
getLastName()
ApplicationConfigReadFormat
getPreferredFormat()
String
getTwitter()
protected List<NuitonConfigExampleConfigOption>
orderedByKey()
void
setAge(int age)
void
setEmail(String email)
void
setFirstName(String firstName)
void
setLastName(String lastName)
protected void
setOption(String key, Object attrName)
void
setPreferredFormat(ApplicationConfigReadFormat preferredFormat)
void
setTwitter(String twitter)
-
-
-
Constructor Detail
-
GeneratedNuitonConfigExampleConfig
protected GeneratedNuitonConfigExampleConfig()
-
GeneratedNuitonConfigExampleConfig
protected GeneratedNuitonConfigExampleConfig(ApplicationConfigInit init)
-
-
Method Detail
-
get
public ApplicationConfig get()
- Specified by:
get
in interfaceSupplier<ApplicationConfig>
-
getFirstName
public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
getTwitter
public String getTwitter()
-
setTwitter
public void setTwitter(String twitter)
-
getAge
public int getAge()
-
setAge
public void setAge(int age)
-
getPreferredFormat
public ApplicationConfigReadFormat getPreferredFormat()
-
setPreferredFormat
public void setPreferredFormat(ApplicationConfigReadFormat preferredFormat)
-
getConfigurationDescription
public String getConfigurationDescription()
-
orderedByKey
protected List<NuitonConfigExampleConfigOption> orderedByKey()
-
-