Package com.io7m.jade.api
Interface ApplicationDirectoryConfigurationType
- All Known Implementing Classes:
ApplicationDirectoryConfiguration
@Immutable
public interface ApplicationDirectoryConfigurationType
The type of application directory configurations.
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the application.default void
Check preconditions for the type.The name of a system property which, if present, will be used to specify a fixed base directory against which all other application directories will be resolved.The name of a system property which, if present, will be used to enable portable mode.
-
Method Details
-
applicationName
String applicationName()The name of the application. The name is used in paths and must be valid according toApplicationNames.isValid(String)
.- Returns:
- The name of the application.
-
portablePropertyName
The name of a system property which, if present, will be used to enable portable mode. If the system property is present, and can be parsed as atrue
value, then portable mode will be enabled and all calculated application paths will be relative to the application's working directory.- Returns:
- A property name to enable portable mode
-
overridePropertyName
The name of a system property which, if present, will be used to specify a fixed base directory against which all other application directories will be resolved. If the system property is present, the contents will be used directory as the name of a base directory, and all calculated application paths will be relative to this directory. Paths exactly equivalent to those produced by portable mode can be obtained by specifying the application's working directory in the system property.- Returns:
- A property name to enable portable mode
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-