init Equinox Environment

open fun initEquinoxEnvironment(storagePath: String, saveMessage: String, context: Class<out Any>, args: Array<String>, customSubDirectories: Array<String>)

Method to init the serverProtector and create the resources directories correctly

Parameters

storagePath

Instance to manage the storage of the server secret

saveMessage

The message to print when the server secret has been generated, the start of the message is "Note: is not an error, but is an alert! Please you should safely save: server_secret_token_generated"

context

The launcher Class where this method has been invoked

args

Custom arguments to share with SpringApplication and with the serverProtector

customSubDirectories

The custom subdirectories of the user