-
public final class ServiceComposerSystem service related options.
-
-
Field Summary
Fields Modifier and Type Field Description private final DirectoryPropertyconfigDirprivate final DirectoryPropertyoverrideDirprivate final ListProperty<String>executableFilesprivate final Property<String>userprivate final Property<String>groupprivate final Property<Int>limitNoFileprivate final Property<String>environmentCommandprivate final StringprojectPathprivate final Property<String>startCommandprivate final Property<String>stopCommandprivate final Property<String>statusCommandprivate final Map<String, Any>optsprivate final LocalInstanceManagermanager
-
Constructor Summary
Constructors Constructor Description ServiceComposer(LocalInstanceManager manager)
-
Method Summary
Modifier and Type Method Description final Unitcompose()final DirectoryPropertygetConfigDir()Path in which local service config files and scripts will be generated. final DirectoryPropertygetOverrideDir()final ListProperty<String>getExecutableFiles()final Property<String>getUser()System user used to run instance. final Property<String>getGroup()System group of user used to run instance. final Property<Int>getLimitNoFile()Controls number of file descriptors allowed. final Property<String>getEnvironmentCommand()Environment variables loader command. final StringgetProjectPath()final Property<String>getStartCommand()Build command relative to root project used to start process which runs AEM instance as a system service. final Property<String>getStopCommand()Build command relative to root project used to stop process which runs AEM instance as a system service. final Property<String>getStatusCommand()Build command relative to root project used to describe status of AEM instance running as a system service. final Map<String, Any>getOpts()final LocalInstanceManagergetManager()-
-
Constructor Detail
-
ServiceComposer
ServiceComposer(LocalInstanceManager manager)
-
-
Method Detail
-
getConfigDir
final DirectoryProperty getConfigDir()
Path in which local service config files and scripts will be generated.
-
getOverrideDir
final DirectoryProperty getOverrideDir()
-
getExecutableFiles
final ListProperty<String> getExecutableFiles()
-
getLimitNoFile
final Property<Int> getLimitNoFile()
Controls number of file descriptors allowed.
-
getEnvironmentCommand
final Property<String> getEnvironmentCommand()
Environment variables loader command.
-
getProjectPath
final String getProjectPath()
-
getStartCommand
final Property<String> getStartCommand()
Build command relative to root project used to start process which runs AEM instance as a system service.
-
getStopCommand
final Property<String> getStopCommand()
Build command relative to root project used to stop process which runs AEM instance as a system service.
-
getStatusCommand
final Property<String> getStatusCommand()
Build command relative to root project used to describe status of AEM instance running as a system service.
-
getManager
final LocalInstanceManager getManager()
-
-
-
-