Package io.deephaven.appmode
Class StaticClassApplication<T extends Application.Factory>
java.lang.Object
io.deephaven.appmode.StaticClassApplication<T>
- All Implemented Interfaces:
ApplicationConfig
@Immutable
public abstract class StaticClassApplication<T extends Application.Factory>
extends Object
implements ApplicationConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.appmode.ApplicationConfig
ApplicationConfig.Visitor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclazz()
final Application
create()
abstract boolean
static <T extends Application.Factory>
StaticClassApplication<T>parse
(Properties properties) final <V extends ApplicationConfig.Visitor>
Vwalk
(V visitor)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
StaticClassApplication
public StaticClassApplication()
-
-
Method Details
-
parse
public static StaticClassApplication<Application.Factory> parse(Properties properties) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
of
public static <T extends Application.Factory> StaticClassApplication<T> of(Class<T> clazz, boolean isEnabled) -
clazz
-
isEnabled
@Parameter public abstract boolean isEnabled()- Specified by:
isEnabled
in interfaceApplicationConfig
- Returns:
- whether this particular application is enabled
-
create
-
walk
- Specified by:
walk
in interfaceApplicationConfig
-