Package org.nuxeo.runtime.reload
Class ReloadContext
- java.lang.Object
-
- org.nuxeo.runtime.reload.ReloadContext
-
public class ReloadContext extends Object
The reload actions to perform when reloading the Nuxeo server.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected PathbundlesDestinationThe bundle destination relative path, it will be computed from runtime home (usually nxserver).protected List<String>bundlesNamesToUndeployprotected List<File>bundlesToDeploy
-
Constructor Summary
Constructors Constructor Description ReloadContext()ReloadContext(String bundlesDestination)Constructor which takes the destination as argument.ReloadContext(Path bundlesDestination)Constructor which takes the destination as argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReloadContextdeploy(File... bundleFiles)ReloadContextdeploy(List<File> bundleFiles)ReloadContextundeploy(String... bundleNames)ReloadContextundeploy(List<String> bundleNames)
-
-
-
Field Detail
-
bundlesDestination
protected final Path bundlesDestination
The bundle destination relative path, it will be computed from runtime home (usually nxserver).
-
-
Constructor Detail
-
ReloadContext
public ReloadContext()
-
ReloadContext
public ReloadContext(String bundlesDestination)
Constructor which takes the destination as argument. The given path must be relative to nxserver directory.
-
ReloadContext
public ReloadContext(Path bundlesDestination)
Constructor which takes the destination as argument. The given path must be relative to nxserver directory.
-
-
Method Detail
-
undeploy
public ReloadContext undeploy(List<String> bundleNames)
-
undeploy
public ReloadContext undeploy(String... bundleNames)
-
deploy
public ReloadContext deploy(List<File> bundleFiles)
-
deploy
public ReloadContext deploy(File... bundleFiles)
-
-