Package com.io7m.jade.spi
Interface ApplicationDirectoryConfigurationType
-
- All Known Implementing Classes:
ApplicationDirectoryConfiguration
@Immutable public interface ApplicationDirectoryConfigurationTypeThe type of application directory configurations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringapplicationName()The name of the application.default voidcheckPreconditions()Check preconditions for the type.java.util.Optional<java.lang.String>portablePropertyName()The name of a system property which, if present, will be used to enable portable mode.
-
-
-
Method Detail
-
applicationName
java.lang.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
java.util.Optional<java.lang.String> 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 atruevalue, 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
-
checkPreconditions
@Check default void checkPreconditions()
Check preconditions for the type.
-
-